# Make audio given a prompt — OpenAI ChatGPT Botize method — `chatgpt.audio_generation` (action). Send a prompt to GPT, optionally along with an audio, and receive an audio message in response. This is an action: it runs as a step of a task. Several can be chained. ## Fields you set The field's internal name, its type and the values it accepts. These fields accept `{{...}}` tags from earlier steps. - `mb_switch` *(boolean)* — Rules - `system_content` *(string)* — System message - `user_content` *(string)* — New user message - `audio_url` *(string)* — Attached MP3 audio URL - `model` *(string)* — Model - `temperature` *(string, one of: "1.2"; "1.1"; "1"; "0.9"; "0.8"; "0.7"; "0.6")* — Temperature - `voice` *(string, one of: "ash"; "ballad"; "coral"; "sage"; "verse")* — Voice - `max_tokens` *(string)* — Max Tokens to use - `mb_outputvars_switch` *(boolean)* — Customize tags It also accepts repeatable field groups, with these prefixes: `mb_filters_*`. These are composite components (buttons, filters, keyboards); the trailing number is set by the user as they are added. ## Output variables Data this step makes available. Reference them in later steps with the double-brace tag. - `{{content}}` *(text)* — Text. Predicted completion. e.g. This is a test - `{{audio_file_url}}` *(text)* — Audio File URL. MP3 Audio file. e.g. https://tmp1d.s3.eu-west-3.amazonaws.com/chatgpt%400123.mp3 - `{{finish_reason}}` *(text)* — Finish reason. reason why the resulting text has terminated. e.g. lenght - `{{prompt_tokens}}` *(int)* — Prompt tokens. Number of tokens in the Prompt. 1 token ~= 4 chars in English - `{{completion_tokens}}` *(int)* — Completion tokens. Number of tokens in the Completion. 1 token ~= 4 chars in English - `{{total_tokens}}` *(int)* — Total tokens. Prompt tokens + Completion tokens ## Account Needs a connected OpenAI ChatGPT account in Botize: https://botize.com/en/app/chatgpt/authenticate ## This app Every trigger and action for OpenAI ChatGPT: https://botize.com/en/app/chatgpt.md ## How to build this An AI assistant (Claude, ChatGPT, Cursor…) can create and edit these tasks in the user's account through the Botize MCP connector, included in every plan: https://webhook.botize.es/mcp - Connection guide: https://botize.com/en/mcp - Agent map: https://botize.com/llms.txt - New account: https://botize.com/en/join (500 free operations, no card) --- Machine-readable summary for AI assistants. Human version: https://botize.com/en/method/chatgpt/audio_generation