OpenAPI v1
Text To Prompt
Generate a prompt from a text
POST
/
v1
/
text-to-prompt
Copy
{
"code": 200,
"message": "success",
"data": {
"prompt": "A sleek, ginger tabby cat, with emerald green eyes that shimmer in the dim light, crouches low to the ground. Its fur, a rich blend of orange and cream, feels soft and velvety to the touch, and a few strands of tawny fur stick out like whiskers. Dust motes dance in a single shaft of sunlight piercing a crack in the weathered wooden floorboards of a dimly lit, rustic barn. The cat’s tail flicks nervously, its pink nose twitching, as it listens intently to every rustle. A faint, musty smell of hay and old wood fills the air.\n"
}
}
Pricing
- Cost: 1 credits per request
Headers
Body
application/json
Response
200 - application/json
The response is of type object
.
Copy
{
"code": 200,
"message": "success",
"data": {
"prompt": "A sleek, ginger tabby cat, with emerald green eyes that shimmer in the dim light, crouches low to the ground. Its fur, a rich blend of orange and cream, feels soft and velvety to the touch, and a few strands of tawny fur stick out like whiskers. Dust motes dance in a single shaft of sunlight piercing a crack in the weathered wooden floorboards of a dimly lit, rustic barn. The cat’s tail flicks nervously, its pink nose twitching, as it listens intently to every rustle. A faint, musty smell of hay and old wood fills the air.\n"
}
}
Assistant
Responses are generated using AI and may contain mistakes.