Improve Prompt - Enhance prompt
Enhance user prompts for AI image or video generation using advanced AI models.
- Image prompts: Improve a prompt for image generation
- Video prompts: Improve a prompt for video generation
Authorizations
Your Magnific API key. Required for authentication. Learn how to obtain an API key
Body
Text prompt to improve for AI generation. Can be empty to generate a creative prompt.
2500"A beautiful landscape"
Type of generation (image or video)
image, video "image"
Language code for the improved prompt (ISO 639-1 format). Defaults to English if not specified.
^[a-z]{2}$"en"
Optional callback URL that will receive asynchronous notifications whenever the task changes status. The payload sent to this URL is the same as the corresponding GET endpoint response, but without the data field.
"https://www.example.com/webhook"
Response
OK - The task exists and the status is returned
{
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "CREATED",
"generated": [
"https://openapi-generator.tech",
"https://openapi-generator.tech"
]
}