Learn how to generate image with AI/ML API.
Last updated 14 days ago
Was this helpful?
/images/generations
curl -L \ --request POST \ --url 'https://api.aimlapi.com/images/generations' \ --header 'Authorization: Bearer JWT' \ --header 'Content-Type: application/json' \ --data '{"prompt":"text","n":1,"model":"dall-e-2","quality":"standard","response_format":"url","size":"1024x1024","style":"vivid"}'
No body