provider-model-refresh
它能做什么
这项技能说明如何在 OpenMontage 媒体工具包中选择特定的 AI 图像、视频和语音模型。适合用 AI 制作视频、并希望模型选择可预测的人。
适用场景
- ✓当你希望项目使用某个特定图像模型,例如 GPT Image 或 Gemini 时。
- ✓当你需要精确选择视频或语音模型,而不希望被其他模型替换时。
- ✓当你在正式制作前检查哪些媒体工具已经设置好时。
技能链接
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/provider-model-refresh/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为我的封面图使用 Gemini 图像模型,不要切换成其他模型。”
每周 5 个新技能,1 分钟读完。
工作原理
它会列出与每种媒体类型对应的工具和模型名称,并告诉智能体:如果所选模型不可用,应当直接报错,而不是替换成其他模型。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Provider model refresh
For media production, first follow AGENT_GUIDE.md and the selected pipeline. These adapters are discoverable through the normal BaseTool registry. Inspect their input schema and status before making a request. An API credential indicates configuration, not verified account entitlement. No paid live test is implied.
Routing
Use preferred_tool to require an exact adapter and hosting_provider to require
an API host. preferred_provider remains a legacy ranking preference. Select an
exact model for images/video or model_id for speech. An unavailable exact
model must fail rather than silently substitute a different model.
| Model | Direct tool | Aggregator tools |
|---|---|---|
| GPT Image 2.5 Flare / Sunburst | openai_image | openai_fal_image, atlas_refresh_image |
| Gemini 3 Pro Image / Nano Banana Pro | google_imagen | gemini_fal_image, gemini_replicate_image, atlas_refresh_image |
| Ideogram 4.5 / Precise Edit | ideogram_image | ideogram_fal_image |
| Wan 3.0 | — | wan_fal_video, wan_atlas_video, wan_replicate_video |
| H3 Max | — | h3_max_video (fal) |
| LTX-2.5 Fast / Pro | ltx_api_video | — |
| Eleven v4 / v4 Turbo | elevenlabs_tts | fal_elevenlabs_tts (v4 only) |
| Gemini 3.8 Flash / Flash-Lite TTS | gemini_tts | — |
| Lyria 3.5 | google_music | — |
| Sonic 3.6 | cartesia_tts | — |
| Inworld TTS-2 / Flash | inworld_tts | — |
| Qwen Image 2.1 | qwen_image_21 (local) | — |
| HeyGen Avatar V | heygen_avatar | — |
Image requests
GPT Image 2.5 uses separate gpt-image-2.5-flare and
gpt-image-2.5-sunburst IDs. Use Flare for speed and Sunburst for demanding
edits. Describe what changes and what must remain. Direct edits use local
image_path/image_paths and optional mask_path. Keep alpha output in PNG or
WebP. The old GPT Image 2 default remains available for compatibility.
Google Pro's exact ID is gemini-3-pro-image; it is distinct from
gemini-3.1-flash-image (Nano Banana 2). Use up to 14 reference images, and
1K/2K/4K on supported routes. Replicate fallback is disabled.
Ideogram direct generation_mode=precise_edit preserves unaffected pixels;
use image_path followed by up to four references in image_paths. With a
mask, only three references are allowed. Black edits, white preserves. Precise
Edit cannot specify output size. dry_run=true validates and prices the exact
request without generating. On fal, precise_edit sets edit_precision=high.
Qwen Image 2.1 requires the actual local model directory and compatible Diffusers. It never downloads weights implicitly. Check the Qwen Research License for the intended use. Transparent generation validates the returned alpha channel rather than adding an opaque alpha channel.
Video and jobs
operation selects text_to_video, image_to_video or reference_to_video.
Replicate Wan supports text and first-frame image only. Wan on Atlas uses
refers objects and duration=-1 for automatic length; fal uses reference URL
arrays and nullable duration. Do not transfer native parameters between hosts.
Pass route-specific controls in provider_params; checked-in schemas under
tools/provider_contracts validate the complete request before submission.
LTX-2.5 supports text/image/audio generation, not retake or extend. Frame rates
are 24, 25, 48, 50; long durations require Fast at 720p/1080p and 24/25 FPS.
duration=null lets the model choose length, but cannot combine with a last
frame. H3 Max is separate from the older H3 endpoint.
Set job_path to persist a checkpoint. On timeout, pass the returned
resume_job to the same tool; this polls the existing job without a second
paid submission. A submission timeout without an ID is ambiguous: check the
provider dashboard before submitting again. Preserve provenance and outputs.
Unknown pricing is reported explicitly, never treated as a free service.
Speech and music
Direct Eleven IDs are eleven_v4 / eleven_v4_turbo; fal uses eleven-v4.
fal v4 accepts at most 5,000 characters and has no speed/style control.
Direct v4 accepts up to 10,000. Voice catalogs and rights differ by host.
Gemini TTS uses Interactions with speech annotations; configure each dialogue
speaker's voice and turn text separately. Its current adapter outputs WAV.
Cartesia uses API version 2026-08-14 and WAV. Inworld uses a portal-issued
Base64 credential with Basic auth, MP3, and at most 2,000 UTF-16 code units.
Lyria duration is a prompt target, not guaranteed exact timing.
Avata
常见问题
这项技能会替我选择模型吗?
不会。它要求智能体使用你指定的确切模型,如果该模型不可用,就停止。
有 API 密钥就代表可以进行付费生成吗?
不一定。这项技能说明,密钥只能表明设置已完成,并不代表账户可以使用该模型。
它涵盖哪些媒体类型?
涵盖图像、视频、音乐和语音,并提供每种模型的直连工具与聚合服务工具对照表。
详情
作者的原始描述
Use the September 2026 image, video, speech and Avatar V adapters with explicit model/host contracts.
repo: calesthio/OpenMontage
热度
- GitHub 星标
- 75k
- 排名
- #2682
- 许可证
- AGPL-3.0
- 更新时间
- 2026/10/28
评论
- …