POST https://api.naga.ac/v1/images/generations creates images from a prompt. Models are listed at naga.ac/models with the image output type.
Parameters
NagaAI ignores
style, output_format and other fields.
Response
Withurl, each entry of data holds a link on media.naga.ac to a copy NagaAI keeps. Download the file if you need it long term. With b64_json, the image bytes come inline.
usage reports tokens. When a provider does not report them, NagaAI counts 2,048 output tokens per image. The price per image token is in pricing.per_output_image_token.
NagaAI checks prompts with its own moderation first. A blocked prompt fails with 403 inappropriate_content.
To edit an existing image, see Image edits. Chat models that draw also return images through the chat endpoints, see Multimodal content.