Price an image
quote_imageUse this when the user wants Deepnia to make an image: gets its exact price in Deepnia credits before anything is created. Nothing is charged. Reference images keep the exact product/person: give the product photo here. Show the price to the user; once they accept, call create_image with the quote_id and credits it returns: that call makes the image (a quote alone creates nothing).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Images to make in this creation, each one charged. Default and limits: settings.count in list_creation_options. | |
| model | No | Image model id from list_creation_options. Default: Deepnia's default. | |
| prompt | Yes | What to create, in the user's words. | |
| resolution | No | Resolution, for example 1K or 2K. Default: the model's default; see list_creation_options. | |
| aspect_ratio | No | Aspect ratio, for example 1:1, 16:9 or 9:16. With pictures: their own shape when the model allows it. Default: the model's default; see list_creation_options. | |
| reference_images | No | Reference images keep the exact product/person: give the product photo here. The image is made from them (the product in a new scene, a poster with it). Each is { creation_id } or { url }; how many each model takes: max_reference_images in list_creation_options. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| type | Yes | ||
| model | Yes | ||
| credits | Yes | ||
| quote_id | Yes | ||
| can_create | Yes | ||
| expires_at | Yes | ||
| available_credits | Yes |