id: media_provider_approval
kind: user_input
depends_on: [page_outline, media_strategy]
clarify:
mode: form
intro: |
媒体生成需要你明确授权。批准后,媒体提示词、网页大纲及生成所需的
相关内容会发送给下方所选的外部 Provider,并且可能产生费用。
修改意见(包括备注栏内容)、含糊回答或空回复都不会被视为授权,
也不会调用付费生成。
Selected Provider: OpenRouter (the current code-owned candidate)
Images: {{ inputs.get('collected', {}).get('ask_images', {}).get('include_images', 'YES') }}
Audio: {{ inputs.get('collected', {}).get('ask_audio', {}).get('include_audio', 'YES') }}
Video: {{ inputs.get('collected', {}).get('ask_video', {}).get('include_video', 'YES') }}
intro_zh: |
媒体生成需要你明确授权。批准后,媒体提示词、网页大纲及生成所需的相关内容会发送给下方所选的外部 Provider,并且可能产生费用。修改意见(包括备注栏内容)、含糊回答或空回复都不会被视为授权,也不会调用付费生成。
所选 Provider:OpenRouter(当前由代码维护的候选)
图片:{{ inputs.get('collected', {}).get('ask_images', {}).get('include_images', 'YES') }}
音频:{{ inputs.get('collected', {}).get('ask_audio', {}).get('include_audio', 'YES') }}
视频:{{ inputs.get('collected', {}).get('ask_video', {}).get('include_video', 'YES') }}
intro_en: |
Media generation requires your explicit approval. If you approve, media prompts, the webpage outline, and related content needed for generation will be sent to the selected external Provider below and may incur charges. Edit requests (including any additional-notes text), ambiguous answers, and empty replies do not count as approval and will not authorize paid generation.
Selected Provider: OpenRouter (the current code-owned candidate)
Images: {{ inputs.get('collected', {}).get('ask_images', {}).get('include_images', 'YES') }}
Audio: {{ inputs.get('collected', {}).get('ask_audio', {}).get('include_audio', 'YES') }}
Video: {{ inputs.get('collected', {}).get('ask_video', {}).get('include_video', 'YES') }}
Keep extraction off and omit a default so only the user's explicit
structured choice can authorize an external paid submission.
nl_extract: false
fields:
- name: approval
type: enum
required: true
choices: ["APPROVE_MEDIA_SEND_AND_COST", "DECLINE_MEDIA_GENERATION"]
prompt: "是否同意向所选 Provider 发送媒体提示词和相关内容,并接受可能产生的费用?"
prompt_zh: "是否同意向所选 Provider 发送媒体提示词和相关内容,并接受可能产生的费用?"
prompt_en: "Do you approve sending media prompts and related content to the selected Provider and accept that charges may apply?"
- name: additional_notes
type: string
required: false
prompt: "可选修改意见。填写任何内容都会阻止本次付费媒体调用;请先修改方案,再重新授权。"
prompt_zh: "可选修改意见。填写任何内容都会阻止本次付费媒体调用;请先修改方案,再重新授权。"
prompt_en: "Optional edit notes. Any text here blocks paid media calls for this approval; revise the plan before authorizing again."
max_chars: 2000
cancel_keywords: ["取消", "算了", "cancel", "stop", "abort"]
timeout_hours: 24