Price one generation for approval
aimixer_quoteUse this when the user wants to actually generate ONE image/video with the selected model and real account-owned inputs, after aimixer_options. Validates exact prompt, mode, media, current user coins and the rules of this account's route, and returns signed price, pricing_revision, approval_handle and approval_url. It creates a temporary approval record but does NOT debit or start generation; it is not a read-only operation. Missing prompt or references must be supplied before this call. An explicit human approval of the exact cost must precede aimixer_submit, using a ChatGPT/Claude MCP App inline button, website approval, OR the literal user's unambiguous answer to the localized question 'Списать N монет за ?'. If the user answers affirmatively, pass the exact reply as submit.user_consent_text with this same signed quote and approval_handle. No generic 'yes', inferred consent or invented managed media references. The quote itself never authorizes spending. Pass lang = the user's language so the approval card matches the chat.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Original image/video/audio ChatGPT attachment, automatically imported before generation. No extra upload tool or public URL is needed. | |
| lang | No | The user's conversation language (ru, en, es, pt); the approval card uses it. | |
| family | Yes | ||
| values | No | Only model-public settings returned by aimixer_options.effective_values and its controls. Do not supply provider route, payer IDs, or billing internals. | |
| audio_urls | No | ||
| image_urls | No | ||
| video_urls | No | ||
| source_urls | No | ||
| result_origins | No | ||
| audio_durations | No | ||
| video_durations | No | ||
| element_payloads | No | ||
| canvas_project_id | No | ||
| file_media_family | No | Type of attachment if MIME/name alone is ambiguous. | |
| image_source_urls | No | ||
| execution_model_key | No | Exact typed execution model advertised by the selected family. Currently used by Topaz; never put provider ids into values.model. | |
| image_urls_by_bucket | No |