Max Router
    简体中文
    • 简体中文
    • English
    • 模型选择与计费
    • 回调通知与轮询
    • 认证与基础地址
    • 开始使用
    • 聊天模型快速调用
    • 图片、视频与音频任务
    • 错误处理与常见问题
    • 导出规范与 SDK
    • API 参考
      • 模型查询
        • 查询可用模型
      • 生成任务
        • 创建生成任务
        • 查询生成任务
        • 创建音频资源
        • 创建角色资源
      • 对话
        • 创建对话
        • 创建响应
        • 创建 Anthropic 兼容消息
        • 生成 Gemini 内容
    • 模型接口
      • 图片生成
        • OpenAI
          • GPT Image 2.5 文生图
          • 4o Image
          • gpt-image-2-5-flare-image-to-image
          • gpt-image-2-5-sunburst-text-to-image
          • gpt-image-2-5-sunburst-image-to-image
          • gpt-image-2-image-to-image
          • gpt-image-2-text-to-image
          • gpt-image/1.5-image-to-image
          • gpt-image/1.5-text-to-image
        • Google
          • Nano Banana 2
          • google/imagen4
          • google/imagen4-fast
          • google/imagen4-ultra
          • google/nano-banana
          • google/nano-banana-edit
          • nano-banana-2-1
          • nano-banana-2-lite
          • nano-banana-pro
        • Black Forest Labs
          • flux-2/flex-image-to-image
          • flux-2/flex-text-to-image
          • flux-2/pro-image-to-image
          • flux-2/pro-text-to-image
          • flux-3/klein-edit-image
          • flux-3/klein-text-to-image
          • flux1-kontext
        • ByteDance
          • bytedance/seedream
          • bytedance/seedream-v4-edit
          • bytedance/seedream-v4-text-to-image
          • omnihuman-1-5/human-identification
          • omnihuman-1-5/subject-detection
          • seedream/4.5-edit
          • seedream/4.5-text-to-image
          • seedream/5-flash-image-to-image
          • seedream/5-flash-layer-decomposition
          • seedream/5-flash-text-to-image
          • seedream/5-lite-image-to-image
          • seedream/5-lite-text-to-image
          • seedream/5-pro-image-to-image
          • seedream/5-pro-layer-decomposition
          • seedream/5-pro-text-to-image
        • Grok
          • grok-imagine-image-2-0/image-edit
          • grok-imagine-image-2-0/segment-edit
          • grok-imagine-image-2-0/segment-map
          • grok-imagine-image-2-0/text-to-image
          • grok-imagine/image-to-image
          • grok-imagine/text-to-image
        • Ideogram
          • ideogram/character
          • ideogram/character-edit
          • ideogram/character-remix
          • ideogram/v3-edit
          • ideogram/v3-remix
          • ideogram/v3-text-to-image
        • Qwen
          • qwen/image-edit
          • qwen/image-to-image
          • qwen/text-to-image
          • qwen2-1/image-to-image
          • qwen2-1/text-to-image
          • qwen2/image-edit
          • qwen2/text-to-image
          • qwen3/image-to-image
          • qwen3/pro-image-to-image
          • qwen3/pro-text-to-image
          • qwen3/text-to-image
          • z-image
        • Recraft
          • recraft/crisp-upscale
          • recraft/remove-background
        • Suno
          • Suno · Generate Music Cover
        • Wan
          • wan/2-7-image
          • wan/2-7-image-pro
      • 视频生成
        • Alibaba
          • happyhorse-1-1/image-to-video
          • happyhorse-1-1/reference-to-video
          • happyhorse-1-1/text-to-video
          • happyhorse/image-to-video
          • happyhorse/reference-to-video
          • happyhorse/text-to-video
          • happyhorse/video-edit
        • ByteDance
          • bytedance/seedance-2
          • bytedance/seedance-2-5
          • bytedance/seedance-2-5-draft
          • bytedance/seedance-2-fast
          • bytedance/seedance-2-mini
          • bytedance/v1-lite-image-to-video
          • bytedance/v1-lite-text-to-video
          • bytedance/v1-pro-fast-image-to-video
          • bytedance/v1-pro-image-to-video
          • bytedance/v1-pro-text-to-video
          • omnihuman-1-5
          • omnihuman-2-0
          • volcengine/video-to-video-lip-sync
        • Google
          • gemini-omni-character
          • gemini-omni-video
          • google/gemini-omni-flash-1-1
          • veo-3-1
          • veo/extend
          • veo/get-1080p-video
          • veo/get-4k-video
        • Grok
          • grok-imagine-video-1-5-preview
          • grok-imagine/extend
          • grok-imagine/image-to-video
          • grok-imagine/text-to-video
          • grok-imagine/upscale
        • Hailuo
          • hailuo/02-image-to-video-pro
          • hailuo/02-image-to-video-standard
          • hailuo/02-text-to-video-pro
          • hailuo/02-text-to-video-standard
          • hailuo/2-3-image-to-video-pro
          • hailuo/2-3-image-to-video-standard
          • minimax-h3/image-to-video
          • minimax-h3/reference-to-video
          • minimax-h3/text-to-video
        • Kling
          • kling-2.6/image-to-video
          • kling-2.6/motion-control
          • kling-2.6/text-to-video
          • kling-3.0-omni/image-to-video
          • kling-3.0-omni/reference-to-video
          • kling-3.0-omni/text-to-video
          • kling-3.0-omni/transformation
          • kling-3.0/motion-control
          • kling-3.0/video
          • kling-4.0/keyframe-to-video
          • kling-4.0/reference-to-video
          • kling/ai-avatar-pro
          • kling/ai-avatar-standard
          • kling/v2-1-master-image-to-video
          • kling/v2-1-master-text-to-video
          • kling/v2-1-pro
          • kling/v2-1-standard
          • kling/v2-5-turbo-image-to-video-pro
          • kling/v2-5-turbo-text-to-video-pro
          • kling/v3-turbo-image-to-video
          • kling/v3-turbo-text-to-video
        • MeiGen
          • infinitalk/from-audio
        • Pixverse
          • pixverse-v6-max/image-to-video
          • pixverse-v6-max/text-to-video
          • pixverse-v6/extend
          • pixverse-v6/image-to-video
          • pixverse-v6/reference-to-video
          • pixverse-v6/text-to-video
          • pixverse-v6/transition
        • Runway
          • runway
          • runway/extend-ai-video
        • Suno
          • Suno · Create Music Video
        • Vidu
          • vidu-q4/image-to-video
          • vidu-q4/reference-to-video
        • Wan
          • wan/2-2-a14b-speech-to-video-turbo
          • wan/2-2-animate-move
          • wan/2-2-animate-replace
          • wan/2-5-image-to-video
          • wan/2-5-text-to-video
          • wan/2-6-flash-image-to-video
          • wan/2-6-flash-video-to-video
          • wan/2-6-image-to-video
          • wan/2-6-text-to-video
          • wan/2-6-video-to-video
          • wan/2-7-image-to-video
          • wan/2-7-r2v
          • wan/2-7-text-to-video
          • wan/2-7-videoedit
          • wan/3-0-video
          • wan/3-0-video-prime
      • 音频与音乐
        • Elevenlabs
          • elevenlabs/text-to-dialogue-v3
          • elevenlabs/text-to-speech-multilingual-v2
          • elevenlabs/text-to-speech-turbo-2-5
        • Google
          • gemini-omni-audio
        • Suno
          • Suno · Add Instrumental
          • Suno · Add Vocals
          • Suno · Boost Music Style
          • Suno · Check Voice
          • Suno · Convert to WAV
          • Suno · Create Voice
          • Suno · Extend Music
          • Suno · Generate Lyrics
          • Suno · Generate MIDI from Audio
          • Suno · Generate Music
          • Suno · Generate Persona
          • Suno · Generate Sounds
          • Suno · Generate Verification Phrase
          • Suno · Mashup
          • Suno · Recover Audio
          • Suno · Regenerate Verification Phrase
          • Suno · Replace Music Section
          • Suno · Separate Vocals
          • Suno · Timestamped Lyrics
          • Suno · Upload and Cover Audio
          • Suno · Upload and Extend Audio
      • 对话模型
        • Anthropic
          • claude-fable-5
          • claude-haiku-4-5
          • claude-haiku-5-5
          • claude-opus-4-5
          • claude-opus-4-6
          • claude-opus-4-7
          • claude-opus-4-8
          • claude-opus-5
          • claude-opus-5-5
          • claude-sonnet-4-5
          • claude-sonnet-4-6
          • claude-sonnet-5
          • claude-sonnet-5-5
        • DeepSeek
          • deepseek-v4-1-flash
        • Google
          • gemini-3-6-flash
          • gemini-3-8-flash
          • gemini-3-8-flash-openai
          • gemini-3-pro
          • gemini-3.1-pro
          • gemini-4-argon
          • gemini-4-argon-openai
        • Grok
          • grok-4-5
          • grok-4-6
          • grok-4-7
        • Moonshot
          • kimi-k3
        • OpenAI
          • gpt-5-2
          • gpt-5-5
          • gpt-5-6-luna
          • gpt-5-6-sol
          • gpt-5-6-terra
          • gpt-6-1-sol
          • gpt-6-1-terra
          • gpt-6-astra
          • gpt-6-luna
          • gpt-6-sol

    图片、视频与音频任务

    图片、视频和音频等生成模型的参数不同,但多数通过同一个任务入口提交。请从模型接口页复制该模型的示例,并根据字段的必填、类型和可选值填写参数。

    1. 创建任务#

    异步任务受理后,保存返回的 data.taskId。少数操作会直接返回结果,具体以接口返回为准。
    {"code":200,"msg":"success","data":{"taskId":"task_example"}}

    2. 查询任务#

    data.state 为 success 或 fail 时任务结束。部分模型的 data.resultJson 是 JSON 字符串,解析后可读取其中的结果地址;其他模型可能使用 data.response 等结构,请以实际返回为准。

    输入媒体与历史任务#

    需要图片、视频或音频输入时,请使用服务端可访问的完整 URL,并遵循模型支持的类型和大小。某些续写、转换或引用操作需要此前任务 ID 或资源 ID;这些 ID 必须来自当前账号有权访问的任务,部分接口还需要提供 originTaskIds。
    任务可能消耗额度。确认模型、参数和价格后再提交;不要把文档中的示例链接或示例任务 ID 当成真实资源。
    修改于 2026-11-05 05:04:03
    上一页
    聊天模型快速调用
    下一页
    错误处理与常见问题
    Built with