CCAPI Developer Platform

Image generation API guide

Choose an image model, send your first request and move a tested workflow into production.

Frequently asked questions

Which image models can I use?

The catalogue includes GPT Image 2, the nano-banana family, Gemini image models, Z-Image Turbo and Midjourney actions. Call the models endpoint to see exactly what your key can reach, since availability depends on your account group.

What image sizes are supported?

Supported sizes are model-dependent, commonly 1024x1024 and 1536x1024. An unsupported size comes back as an error naming the valid options rather than silently producing something else.

Can I edit an existing image instead of generating a new one?

Yes. Pass one or more reference images alongside the prompt to do image-to-image editing, or use the dedicated edit endpoint. Not every model accepts references.

How long does an image take?

Most models return in 10 to 60 seconds. For slower models, an asynchronous mode returns a task id immediately so a request is not lost to a client timeout.

Do generated image URLs expire?

Results are re-hosted on our own CDN rather than the provider's, so links are stable and do not name the upstream vendor. Download anything you intend to keep long-term.