APIrove

Image generation API model comparison

Build an image request and decode the resulting PNG.

FormatInputResult
PNGpromptdata[0].b64_json

Frequently asked questions

How do I save an image from the response?

For gpt-image-2, decode data[0].b64_json and write the decoded bytes to a PNG file.

Where is the exact model ID?

Copy the identifier from the model guide into the model field of your request.

How do I compare prices?

Check the billing unit and tier on the public pricing page before comparing rates.

What determines output length?

Text examples use a token limit. For video, choose a duration accepted by the selected model.

How do I confirm access?

Check the model list for your key before submitting a generation request.

One API for text, image and video output

Browse models