Start an approved paid generation
aimixer_submitPAID ACTION: use only after explicit human confirmation of one AIMixer quote for precisely the same model, inputs and coin amount. Deducts coins and queues one durable image/video generation, returning a request_id rather than a finished image. Requires signed quote_confirmation, pricing_revision, expected_price and account-bound approval_handle. Approval comes from the MCP App's user-clicked confirmation, the MixerAI website, or the user's literal unambiguous reply to the exact-price/model question, forwarded as user_consent_text. Never invent the reply or treat an assistant acknowledgment as consent. Reuse the SAME idempotency_key on uncertain retry; first inspect status if a prior submission may have succeeded.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"family": "<family>",
"quote_confirmation": "<quote_confirmation>",
"pricing_revision": "<pricing_revision>",
"expected_price": "<expected_price>",
"idempotency_key": "<idempotency_key>",
"approval_handle": "<approval_handle>"
},
"name": "aimixer_submit"
}
}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 | ||
| expected_price | Yes | ||
| result_origins | No | ||
| approval_handle | Yes | ||
| audio_durations | No | ||
| idempotency_key | Yes | ||
| video_durations | No | ||
| element_payloads | No | ||
| pricing_revision | Yes | ||
| canvas_project_id | No | ||
| file_media_family | No | Type of attachment if MIME/name alone is ambiguous. | |
| image_source_urls | No | ||
| user_consent_text | No | The user's EXACT literal response to the price question 'Списать N монет за <model>?' (localized to the user). Only a clear affirmative statement (for example Согласен / I agree / acepto / concordo) authorizes this one signed quote. Never invent, paraphrase or infer the user's response. The original approval_handle and signed quote are still required. | |
| quote_confirmation | Yes | ||
| 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 |