QuotaFlow Docs

Images

When to use this page

Use this page when you need image generation or image editing with OpenAI-compatible request and response shapes.

Endpoints

POST https://app.quotaflow.ai/openai/v1/images/generations
POST https://app.quotaflow.ai/openai/v1/images/edits

Supported models

Generate an image

curl https://app.quotaflow.ai/openai/v1/images/generations \
  -H "Authorization: Bearer $QUOTAFLOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-image-2",
    "prompt": "A clean product screenshot style illustration of a teal API dashboard.",
    "size": "1024x1024",
    "response_format": "b64_json"
  }'

Edit an image

curl https://app.quotaflow.ai/openai/v1/images/edits \
  -H "Authorization: Bearer $QUOTAFLOW_API_KEY" \
  -F "model=gpt-image-2" \
  -F "image=@./input.png" \
  -F "prompt=Change the background to a clean teal gradient" \
  -F "size=1024x1024"

Response shape

QuotaFlow returns an OpenAI-compatible image response. Use response_format: "b64_json" when you want image bytes directly in the response.

AI agents: start at /llms.txt, fetch /llms-full.txt for full context, and parse /openapi.yaml for endpoint schemas.