cURL
curl --request GET \ --url https://api.freepik.com/v1/ai/text-to-image/imagen3/{task-id} \ --header 'x-freepik-api-key: <api-key>'
200
success - completed task
{ "data": { "generated": [ "iVBORw0KGgoAAAANSUhEUgAABAAAAAQACAIAAADwf7zUAAAAg3pUWHRSYXcgcHJvZmlsZSB0eXBlIGlwdGMAAAiZTYs7Ds", "npqaxtJUKl7c8fs4/Aqyzw3cea9eAjHX88Av7/H/LHFPdjf2I8LUIm5/mYi8UD1IsOK1sZSBO9M+CcS1IiuAUzlVkyolEioFZfnIGSqM9+d01i1CtyO+ju" ], "task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "status": "COMPLETED" }}
Get the status of the Imagen3 task
Your Freepik API key. Required for authentication. Learn how to obtain an API key
ID of the task
OK - The task exists and the status is returned
The response is of type object.
object
Was this page helpful?