images
fields in the completed response will have all the generated images.uri
field in the completed response is the first image's URL.Authorization: Bearer ********************
flux-1.1-pro
{
"prompt": "string",
"ref": "string",
"webhookOverride": "YOUR_BACKEND_API_ENDPOINT",
"timeout": 900,
"n": 1,
"height": 1024,
"width": 1024,
"aspect_ratio": "1:1",
"output_format": "png",
"output_quality": "100",
"model": "flux-1.1-pro"
}
curl --location --request POST 'https://api.imaginepro.ai/api/v1/flux/imagine' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "string",
"ref": "string",
"webhookOverride": "YOUR_BACKEND_API_ENDPOINT",
"timeout": 900,
"n": 1,
"height": 1024,
"width": 1024,
"aspect_ratio": "1:1",
"output_format": "png",
"output_quality": "100",
"model": "flux-1.1-pro"
}'
{
"success": true,
"messageId": "d15c1541-229a-442b-9873-d3494dede12a",
"createdAt": "2023-08-01T14:03:01.817Z"
}