This endpoint allows you to expand an image using the Ideogram AI model. The image will be expanded based on the provided pixel values for each side. If no prompt is provided, the model will auto-generate one based on the image content.
Your Freepik API key. Required for authentication. Learn how to obtain an API key
Base64 image to expand
Number of pixels to expand on the left side
0 <= x <= 2048Number of pixels to expand on the right side
0 <= x <= 2048Number of pixels to expand on the top side
0 <= x <= 2048Number of pixels to expand on the bottom side
0 <= x <= 2048Optional 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"
Optional text prompt describing the desired expanded content. If not provided, the AI model will auto-generate a prompt based on the image.
Optional seed for reproducibility
0 <= x <= 2147483647OK - 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"
]
}