Skip to main content
createImageSimplify submits an asynchronous generation and returns Content!. Use API key authentication and a ready image model accessible to the account. A successful response is an acceptance receipt; follow tasks and results for final media.

Submit an image generation

CreateImages
Variables

Arguments and metadata

modelId: ID! selects the image model. metadata uses SimpleImageContentMetadataInput: high and best are enum values used by other operations; they are not supported qualities for this mutation. Explicitly provide width and height, even if your client offers default dimensions.

Image qualities and credits

Use metadata.outputQuality for createImageSimplify and metadata.quality for imageChatEditSimplify and cloneImageSimplify. Edit and Clone each return one image. The quality value includes the resolution. For example, pass outputQuality: imageFast2k to Generate or quality: imageFast2k to Edit or Clone. The long edge is 1024, 2048 or 4096 pixels. Dimensions select the aspect ratio. Omit the edit dimensions to keep the source aspect ratio. Fast and Ultra at 1K remain accepted for existing API integrations. New clients can discover the selectable combinations through Feature catalog. When reading media, Media.quality and the detail quality field return labels supported by the original image clients. To read the stored tier, select quality(exact: true) on Media, ImageEditMediaDetail or CloneImageMediaDetail, or outputQuality(exact: true) on ImageMediaDetail. Use the exact value when restoring creation settings. For example, a Fast 2K clone returns ultra from quality and imageFast2k from quality(exact: true). For these quality values, the selected resolution sets the delivered long side. For example, an edit with imageUltra2k, width: 800, height: 600 and isRatio: false delivers 2048 × 1536. With an incomplete size selection, Edit and Clone derive the output ratio from the source image, subject to the Ultra 4K limits below. Legacy pixel-mode requests retain their exact dimensions. Generate, Edit and Clone deliver new imageUltra4k results as JPEG images. Ultra 4K accepts 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3 and 21:9. Choose one of these proportions when specifying an output size. When Clone has no explicit output size, it uses the supported proportion closest to the source image. Edit requires a supported source proportion when keeping its original ratio. For example, generating two imageFast2k images costs 20 credits. With Fast, Generate accepts one element, Edit operates on the source image alone (0 additional references or elements), and Clone uses the source and identity reference. For Edit, Ultra accepts up to 6 combined additional references and elements (7 images total including the source), and UltraS accepts up to 9 combined additional references and elements (10 images total including the source). Query the Feature catalog for current live pricing, media budgets, and supported aspect ratios. For ultra, the supplied dimensions determine the aspect ratio and generation uses a 2048-pixel long side. ultra4k uses the same native size followed by enlargement to 4K. Very wide or tall ratios may require a larger native long side to meet the minimum image area. The request and receipt fields are unchanged. Settings and reference limits depend on the selected workflow. A seed is an input to generation, not a guarantee that repeated requests produce identical media. Check credits and billing, submit once, and retain both IDs from the receipt.