Image Generation
Image capabilities depend on the models currently enabled in the dashboard. Confirm the model ID, pricing, size limits, and response format before integration.
Request example
bash
curl https://ai.akaii.top/v1/images/generations \
-H "Authorization: Bearer $AKAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "IMAGE_MODEL_ID_FROM_CONSOLE",
"prompt": "A clean product illustration on a neutral background",
"size": "1024x1024"
}'Image requests typically take longer than text requests. Supported sizes, output formats, and optional parameters vary by model. Limit concurrency for batch workflows and avoid submitting the same request repeatedly after a timeout.