Skip to main content
GET
/
v1
/
ai
/
improve-prompt
/
{task-id}
Get the status of one improve-prompt task
curl --request GET \
  --url https://api.freepik.com/v1/ai/improve-prompt/{task-id} \
  --header 'x-freepik-api-key: <api-key>'
{
"data": {
"generated": [
"A breathtaking landscape featuring majestic snow-capped mountains in the background, lush green valleys in the foreground, with a crystal-clear river winding through the scene. Golden hour lighting casts warm tones across the terrain. Shot with a wide-angle lens, cinematic composition, high detail, photorealistic style."
],
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "COMPLETED"
}
}

Authorizations

x-freepik-api-key
string
header
required

Your Freepik API key. Required for authentication. Learn how to obtain an API key

Path Parameters

task-id
string<uuid>
required

ID of the task

Response

OK - The task exists and the status is returned

data
object
required
Example:
{
"generated": [
"https://openapi-generator.tech",
"https://openapi-generator.tech"
],
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "CREATED"
}