Spiral gives your agent every tool with one account. Browse the tools →

How to Add the Model Recommendations Skill to Your AI Agent

Video skillUse whenever the user asks to generate or edit media, before you find a tool or read its input schema. Curated default model per use case for image, video, audio, and 3D generation, each with its catalog tool. An explicit current-request, project, or workspace model preference takes precedence; otherwise use the curated default. Covers image edit/generate, text edits on images, still-image face swaps, image upscaling and background removal, layer separation, real 3D requests that require a mesh or GLB output, media understanding, start-end frame video, UGC and product ads, cinematic humans, motion transfer, talking photos and lip-sync, video editing, extension, background removal, face swap, watermark removal, upscaling, auto-clipping, TTS, voice change, music, sound effects, audio separation, transcription, and captions. Model capabilities change constantly, so use this skill instead of recalling defaults from memory.

How to add Model Recommendations to your agent

Pick the way that suits you. Each takes about two minutes.

Save SKILL.md into your agent's skills

  1. Download the skill

    Claude Code, and other agents that read Agent Skills, load it from this folder when they start.

    mkdir -p ~/.claude/skills/model-recommendations
    curl -fsSL https://spiral.ai/skills/model-recommendations/SKILL.md -o ~/.claude/skills/model-recommendations/SKILL.md
  2. Connect Spiral

    The skill runs its tools through Spiral. Send your agent this message once to set it up.

    set up https://spiral.ai/SKILL.md

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init
  2. Read the skill

    Built-in skills are on for every organization: the CLI prints this one with all its files.

    spiral agent-skills get model-recommendations --json

Read it from the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Fetch the skill

    The answer holds SKILL.md and every other file of the skill, in path order.

    curl https://api.spiral.ai/v1/skills/model-recommendations \
      -H "Authorization: Bearer $SPIRAL_API_KEY"

Then ask your agent for the task: it loads Model Recommendations when a request matches the skill's description.

When to use (description)

Use whenever the user asks to generate or edit media, before you find a tool or read its input schema. Curated default model per use case for image, video, audio, and 3D generation, each with its catalog tool. An explicit current-request, project, or workspace model preference takes precedence; otherwise use the curated default. Covers image edit/generate, text edits on images, still-image face swaps, image upscaling and background removal, layer separation, real 3D requests that require a mesh or GLB output, media understanding, start-end frame video, UGC and product ads, cinematic humans, motion transfer, talking photos and lip-sync, video editing, extension, background removal, face swap, watermark removal, upscaling, auto-clipping, TTS, voice change, music, sound effects, audio separation, transcription, and captions. Model capabilities change constantly, so use this skill instead of recalling defaults from memory.

Instructions

Model Recommendations

Mandatory workflow
  1. Resolve explicit preferences. A model the user named in this request, or one their project or workspace prefers, wins when it is compatible with the task, even when it is absent from this list: find its tool by its exact name.
  2. Otherwise pick the default model from the matching use case below: each names the model, its mode and its catalog tool (provider/model). When a tool listed here is no longer in the catalog, find a tool by what it does (for example "upscale video"), with fewer words when nothing matches, and name the replacement to the user. For an unlisted use case, search the same way.
  3. Read its input schema — REQUIRED. Confirm the exact input fields and that the tool supports the requested task and input modality; estimate the cost before expensive operations; then run it with the fields its schema names.

Pass exact media URLs as inputs: never describe a supplied asset in the prompt instead of attaching it.


IMAGES

Default to GPT Image 2.6 Flare for new images and GPT Image 2.6 Sunburst for reference-based generation and precise edits. Use alternatives when explicitly requested, when budget is the priority, or when the user picks one after a moderation refusal (never retry the same input on another model unasked). Reach for image generation proactively when a custom visual would strengthen an answer.

Pipeline rule (hard): for creative composite imagery — collages, cards, roadmaps, timelines, infographics, posters, multi-panel layouts, certificates, social-media posts, mockups, logos, icons, any designed artifact rather than a chart of raw numbers — use the selected image model, NOT image libraries or HTML/SVG/canvas rendered to an image. This holds even when the user supplies assets (pass them as reference images to the selected compatible image-edit model and describe the layout in the prompt), brand specs (hex colors, fonts, dimensions — put them in the prompt), or detailed design direction. Reserve programmatic image work for data-driven charts from numeric analysis, precision pixel transforms (crop, mask, frame extraction) and deterministic layout of finished model outputs. Never paste or blend a model's edit back onto its own source image (see the image-region-edits Skill); the only exceptions are a text region, under "Small text change on an existing image", and a region of an approved image that shows no person or brand mark, under "Local fix to an approved image" in the image-region-edits Skill.

Output file format / extension (never goes in the prompt)

A requested file format/extension (.tga, .bmp, .tiff, .psd, .ico, .pdf, vector .eps/.ai/.svg, etc.) is a property of the output _file_, not the image content. Never write it into the prompt; route it to exactly one place:

  1. Schema supports it → set the output-format field (confirm the field and accepted formats in its input schema).
  2. Schema doesn't → generate normally, then convert the file as a lossless container change — never re-render first. PNG, JPEG, WebP and GIF are one FFmpeg Media Editor run (ffmpeg -i {in0} out.webp); other formats need a converter outside the catalog.

Never drop the requirement. Vector containers (.eps/.ai/.svg) only _embed the raster bitmap_ — tell the user it isn't editable vector and offer real tracing for flat/logo/line art. Letters that should appear in the image (a poster reading ".AI") stay in the prompt. A batch targeting different formats is a per-image conversion fan-out, not a different prompt per image.

Exact output dimensions (hard rule)

A requested pixel size is a property of the output, like the file format. Route it in this order:

  1. The selected model's schema can hit it exactly → set the size to those dimensions. Read the custom-size constraints in its input schema, not only the presets: a custom size often reaches an exact ratio that no preset lists.
  2. It can't because the size is below the model's minimum, off its size grid, or there is no custom size → generate at a valid size with the same aspect ratio, then downscale to the exact size with FFmpeg Media Editor (ffmpeg -i {in0} -vf "scale=1200:628" out.png). A downscale is cheap and keeps the whole frame, so don't switch to a costlier model or drop a needed property (such as a transparent background) to avoid it. Tell the user in one line that you generated larger and downscaled.

Above the model's maximum → generate at the largest valid size with the same aspect ratio, upscale it ("Image upscaling / high-resolution" below), then downscale to the exact size. Never enlarge with a plain resize.

  1. The target ratio differs from the image's → never stretch it and never crop the subject silently. Follow "Crop, pad or outpaint: flag content loss first" in media-editing.
  2. Never say a size or ratio is impossible, or call a preset the "closest" size, before reading the schema's custom-size constraints. One model's limit isn't the catalog's: name the model and give the downscale route.
Image generation (text-to-image)

When the user asks for an older Nano Banana by name, run it: Nano Banana 2 (Nano Banana 2 · Text to Image) or Nano Banana Pro (Nano Banana Pro · Text to Image), and say which Nano Banana model you ran.

Logos and icons

Use this when the inferred intent is a new logo, icon or emblem. Generate it with the text-to-image primary above, or with the edit primary when the user supplied a sketch, brand mark or reference, and deliver a PNG. Do not draw it with SVG, HTML or canvas code.

When the user asks for a vector or SVG file, follow "Output file format / extension": trace the generated PNG to SVG and deliver the PNG alongside it, since some viewers can't open an SVG.

Image generation with reference images / image editing (image-to-image)

Use this whenever the result should incorporate or transform existing visual assets — editing a photo, restyling, a new composition that includes a user-provided logo / product shot / headshot / character or style reference / prior render. Route here even when the intent is "generate a new image", as long as a reference asset belongs in the result.

Changing part of an existing image (hard rule)

Use this when the inferred intent is to change part of what an existing image shows while keeping the rest: a person's face, body or clothing, a logo or brand mark, moving a small detail to another spot, or a local fix to an image the user approved. Load the image-region-edits Skill before the first edit and follow it; it uses the image-edit model above.

Text edits on existing images (hard rule)

When a user asks to add, remove, replace, or correct text in an existing image (a cover, poster, label, card or screenshot), use the image-to-image editing path above with the complete original image attached. The primary is GPT Image 2.6 Sunburst Edit (GPT Image 2.6 Sunburst · Edit); use Nano Banana 2.1 Edit only when an explicit preference or budget choice calls for it. Do not produce the edited image with image libraries, HTML/SVG/canvas overlays or screenshots. Inspecting crops is diagnostic only: a temporary crop must never be delivered or mistaken for the original. Preserve all other artwork and the canvas unless asked. The edit redraws them: check them per step 5 of "Edits to a person or a brand asset" in the image-region-edits Skill and re-edit the original with all wording so far. For a few words in one region, use "Small text change on an existing image" below.

Operational rule (hard):

  • If the user provided reference images: ATTACH ALL OF THEM as inputs in the field the schema names — never only describe them in the prompt.
  • If the user did NOT provide reference images but the request would clearly benefit from one (brand consistency, character preservation, "in this style", a specific product or recurring subject): ask the user for the image before generating, instead of using a generic stand-in.
  • If genuinely no reference is needed: use text-to-image and don't ask unprompted.
Small text change on an existing image

Use this when the inferred intent is to change a few words of text already rendered in an existing or approved image, keeping everything else the same: an existing image is in scope AND the change is limited to one text region. Text regions only; never faces, people or brand marks.

  1. Measure the text region (OCR boxes or a pixel scan) instead of estimating it, and keep a margin for the reflowed lines.
  2. Edit only that region with the image-edit model above, stating the exact final wording. Prefer a mask over the measured region when the schema supports one; otherwise edit a full-resolution crop of the region (FFmpeg Media Editor, ffmpeg -i {in0} -vf "crop=W:H:X:Y" region.png).
  3. Composite the edited region back into the original file at the same coordinates (ffmpeg -i {in0} -i {in1} -filter_complex "[0:v][1:v]overlay=X:Y" out.png). Do not regenerate, re-upscale or rebuild the whole asset for a text change.
  4. Keep the original file untouched and show the before and after region so the user can approve the change.

Ask the user to proofread the new text; do not run a separate media understanding pass as a spelling gate.

Face swap in still images

Use this when the inferred intent is to replace a face in one still image with a face from another: a source-face image and a separate target/composition image are both in scope. Route through the primary image-edit model above, not the video face-swap models.

Pass both exact images and state their roles in the prompt: which supplies the face identity and which supplies the target composition. Never collapse either image into a text description.

Moderation rule: the provider's moderation owns the decision; do not preemptively refuse based only on a concern that the result could be a deepfake or involve a real person.

Image upscaling / high-resolution

Use this when the inferred intent requires higher resolution or sharpness than the generator natively produces (a target like 4K/HD, or "make it sharper"). Generate first, then upscale. Do NOT claim a resolution the output was not actually produced at.

  • Primary: Topaz precision upscale (Topaz Upscale · Precision Image Upscaling) — pass the generated image as input. When the user wants added detail rather than a faithful enlargement: Topaz generative upscale (Topaz Upscale · Generative Image Upscaling).
  • Keep transparency when upscaling: an upscaler can return an image without an alpha channel. For a transparent source, restore the alpha before delivering (for example, run the background remover on the upscaled image), and never call the raw output transparent.
Background removal (still image)

Use this when the inferred intent is to remove the background from a single still image, leaving the subject on a transparent canvas.

Transparency rule: a transparent background is a property of the output file, never of the prompt. Asking an image model for "a transparent background" usually returns a painted checkerboard. To edit an image that is already transparent, composite it on a solid background first, edit that, then run the background remover again: an edit model given transparent input can return soft, smeared edges. To isolate subjects:

  1. When one subject must first be separated from a multi-subject image, use the image-edit model to produce one isolated subject per output. If its schema exposes a transparent-background option, set it. If that edit is refused, offer layer separation (below) to the user as an option first. Never cut a subject out of a busy image with a rectangle guessed from a preview and then run the background remover on the crop: the guess clips the subject and the remover keeps nearby scenery. Before compositing a cutout, check its alpha bounds; bounds that touch the crop edge mean the subject was clipped. Look at each cutout on a flat color before placing it.
  2. Chain each isolated output through the background remover unless the result already reports it transparent.
  3. Claim transparency or an alpha channel only when you checked the file: a file with no transparent pixels is not transparent, whatever the tool said.

If a user reports that a delivered "transparent" file is flat, believe the report and re-check the file. Do not explain it away as a transparency preview.

Layer separation (split an image into layers)

Use this when the inferred intent is to split one finished image into separate, editable layers: every subject or object on its own transparent layer, plus a rebuilt background (for example, "make this a layered file", "separate everything in this picture", "give me each element as a PNG").

  • Primary: Seedream 5.5 Layerize (Seedream 5.5 Layerize) — pass the finished image. Without guidance it separates the main elements; when the user names specific elements, pass that description. Confirm input fields in its input schema.
  • Results are ordered bottom to top: the first image is the rebuilt background, then one layer per element. Stacking them in that order recreates the image; keep that order when delivering or composing them.
  • It is priced per returned layer, and the layer count is not known in advance (set its max_images field to cap it, and estimate at that cap), so estimate the cost first. To remove only the background behind one subject, use the background remover above instead.

For a video clip, see "Background removal from video" under VIDEO.

3D model requests

Ambiguous wording rule for both 3D paths: if the user says "3D image" but the deliverable is a usable 3D object, model, mesh, asset, prop, character, scene element, AR/VR/game asset, or .glb/GLB file, treat it as 3D model generation. Only use normal image generation when the user clearly wants a flat 2D picture in a 3D/rendered style.

When the catalog lists no 3D tool, tell the user 3D model generation isn't available, offer a 2D render of the object instead, and don't route the request to an image or video model as if it were 3D.

3D model generation (text-to-3D)

Use this to generate a 3D mesh from a textual description alone.

  • Primary: Meshy 7.1, text-to-3D (Meshy 7.1 Text to 3D) — returns the .glb model URL as the primary result and a .png preview thumbnail as a secondary output.

The result is a model file, not an image: don't chain it into image upscalers or editors.

3D model generation (image-to-3D)

Use this when the user supplies image(s) of an object or character AND wants a 3D mesh of it (not a modified 2D image).

For 2D edits (style transfer, inpainting, regional edits), use the image-edit models above.


MEDIA UNDERSTANDING

To analyze, describe, or reason about the contents of an image, video, audio clip, or document that is not already available in context, run the media understanding tool; there is no separate "analyze" tool.

  • Primary: Gemini 3.8 Flash media understanding (Gemini 3.8 Flash Media Understanding (image, video, audio, PDF)); read its input schema before the first call. It takes your instruction plus any combination of images, videos, audio and documents (PDF), by URL, and returns text.
  • For a yes/no, one-of-a-list or rubric judgement about a file or text that a next step branches on (is the label legible, which category, how well it fits the brief), follow the typed-decisions skill (Gemini Decision 1): calibrated probabilities instead of prose, at a fraction of the cost.
Document reading and OCR

When a durable text extraction of a document or image is needed and not already available, run an OCR tool (Mistral OCR Latest). Do not re-run OCR or media understanding merely because a preview of an earlier extraction is short: read the extraction you already have. If OCR fails, media understanding with the original file and a faithful extraction prompt is a separately billed fallback. Visual questions about a document's layout or figures go to media understanding.

Media checks: look, measure, then ask

Before stating a fact about a generated or supplied file, or paying to chain it, look at it (extract stills with FFmpeg Media Editor) or measure it, and ask media understanding only what looking and measuring cannot answer.

VIDEO

Default to MiniMax H3 Max first (MiniMax H3 Max Text to Video, MiniMax H3 Max Image to Video, MiniMax H3 Max Reference to Video) because it costs substantially less per generated second than Seedance 2.5. Use the mode that matches the inputs.

Upgrade to Seedance 2.5 (Seedance 2.5 · Text to Video, Seedance 2.5 · Image to Video, Seedance 2.5 · Reference to Video, the mode matching the inputs) when any of these holds:

  • The user is not satisfied with the H3 result, or asks for better or the best quality.
  • The user explicitly asks for Seedance 2.5.
  • The brief needs a single clip longer than H3's maximum duration, or more reference assets than H3 accepts.
  • A multi-shot brief's beats do not land as distinct shots on H3.

Both models render native audio (speech, dialogue, SFX, and ambience) with the picture, so native-audio briefs follow the same H3-first order. Do not re-run the same brief on H3 after the user has asked for the upgrade. The use cases below follow this H3-first, Seedance-upgrade order unless they say otherwise.

Also available: Gemini Omni Flash — see the gemini-omni-video Skill for its modes.

Kling, when the user asks for it: Kling 4.0 (Kling 4.0 Text to Video, Kling 4.0 Image to Video) renders silent video (its schema has no audio field). When the Kling clip needs native audio (speech, dialogue, SFX), use Kling v3 Pro (Kling 3.0 Pro · Image to Video, Kling 3.0 Pro · Text to Video) instead.

Video generation rules (hard rule)

Before any video generation, load the video-generation-rules Skill and follow it: reference assets, in-frame motion, what "video" means, on-frame text by fidelity requirement, native audio, multi-shot calls, aspect ratio and the same character across segments. The model picks below stay here.

Several video segments with the same character

Use this when two or more video generations must keep one character; the rules are in video-generation-rules ("Same character across multiple video segments").

  • Primary: MiniMax H3 Max, reference-to-video, for every segment.
  • Upgrade: Seedance 2.5, reference-to-video. Use one model for every segment of the piece.
Start frame + end frame video

Use image-to-video with both keyframes set:

  • Primary: MiniMax H3 Max, image-to-video — pass the start frame and the end frame.
  • Upgrade: Seedance 2.5, image-to-video — same start-plus-end-frame shape.
  • Alternative: Kling 4.0, image-to-video (Kling 4.0 Image to Video) when the user explicitly asks for Kling.
UGC ads (creator-style videos with a person on camera)
  • Primary: MiniMax H3 Max, image-to-video; upgrade: Seedance 2.5, image-to-video. Native audio renders the creator's speech, SFX, and ambience.
  • Multiple reference photos of the same person: MiniMax H3 Max, reference-to-video, upgrade Seedance 2.5, reference-to-video. Pass all the photos as reference images, plus an optional driving motion clip as a reference video.
  • Alternative: Kling v3 Pro, image-to-video, when the user explicitly wants Kling or the primary models are unavailable (not Kling 4.0: it renders no speech).
  • For dialogue longer than one clip, see "Long talking photo" below.
Product ads (no human actor — the product is the hero)
  • Primary: MiniMax H3 Max, image-to-video with a product reference image; text-to-video without one.
  • Upgrade: Seedance 2.5, the same modes.
  • Alternative: Kling 4.0, the same modes (Kling 4.0 Text to Video without an image); Kling v3 Pro when the ad needs native audio.
Cinematic videos with humans
  • Primary: MiniMax H3 Max, image-to-video; text-only: its text-to-video.
  • Upgrade: Seedance 2.5, the same modes — strongest current realism.
  • Alternative: Kling 4.0, the same modes; Kling v3 Pro when the clip needs native audio.
  • Several segments featuring the same person: follow "Same character across multiple video segments" in video-generation-rules.
Motion transfer / copying movement from a driving video
  • Primary: Kling v3 Pro Motion Control (Kling 3.0 Pro · Motion Control) — pass the source character image and the driving motion video. It needs one person whose head, shoulders and torso stay visible in a continuous shot; it rejects other driving clips.
  • Look at the driving clip first (a few extracted frames, or one media understanding call). When the performer is not a person (an animal, a cartoon, an object), the clip has hard cuts or tight close-ups, or Kling motion-control is unavailable: MiniMax H3 Max, reference-to-video, then Seedance 2.5, reference-to-video, for better quality or on explicit request. Pass the character images as reference images and the driving clip as a reference video; the two models name these fields differently.
Storyboard / moodboard / multi-reference video

Use this to turn a storyboard or moodboard into one coherent video: several panels or scenes arrive as one grid/collage image or as multiple reference images.

  • Primary: MiniMax H3 Max, reference-to-video — feed the storyboard and/or all reference frames in one call.
  • Upgrade: Seedance 2.5, reference-to-video — same single-call shape; also when the set exceeds H3's reference limit.

Pipeline rule (hard): do NOT split a storyboard/moodboard into N separate image-to-video generations and stitch them — it multiplies cost and loses cross-shot consistency. Fall back to per-clip image-to-video only when the user explicitly asks for independently directed clips.

Supplied audio that a person must visibly perform (song, voiceover, recorded dialogue)

Use this when an on-screen person or character must visibly sing or speak an audio track the user supplied (song, vocal stem, voiceover, recorded dialogue, or a supplied video's soundtrack). Native-audio video cannot follow a supplied track, and muxing the track onto independently generated footage leaves mouths unsynced; neither is valid here.

Analyze the audio before planning (hard rule). Before choosing durations or asking about length, measure the track: total duration, leading and trailing silence, and where vocals or speech start and stop (a timestamped transcription with Scribe v3 gives the speech regions; add it when the words matter). Extract the audio first when it arrives inside a video (FFmpeg Media Editor, media-editing Skill). When you cannot measure, ask the media understanding tool above for the same timestamps and label them approximate until measured. Then tell the user what you found, with timestamps:

  • Requested runtime differs from the track: give both numbers and ask whether to match the track, add non-singing footage, or use a section. Never loop, pad, or time-stretch the track silently.
  • Silent or instrumental regions: plan non-singing shots there. Lip-sync clips cover only the vocal regions.
  • Model limits (clip minimum or maximum, audio length) that force splitting, trimming, or dropping words: surface the conflict and ask before generating.
  • More than one visible face in a source frame: plan a mask for the performer (below).

When it is unclear whether the user wants the track only as a soundtrack or wants the performer to sing or speak it, ask the user to choose before choosing a pipeline.

  • Primary: InfiniteTalk image lip-sync (InfiniteTalk Lip-sync · Image to Video): a still image of the performer plus the exact audio segment returns a clip whose mouth follows that segment for its full length. Run it per vocal segment.
  • When the brief needs camera motion or scene action a still cannot give, or the user named a video model, generate the motion clip at the segment's duration with native audio off, then re-sync it with the video lip-sync model under "Lipsync an existing video to a different audio track" below, using the same exact segment. This re-sync drifts when hands move or the head turns: for spoken lines over hands-on action, offer a faceless shot with the line as voiceover instead, and when the face must show during the action, tell the user its sync is weaker.
  • More than one visible face: use the still-image lip-sync model above, which is the one with a mask input. Pass a mask that covers only the performer; the video lip-sync model has no mask. Build the mask from the performer's measured position. Do not crop the face, lip-sync the crop, and overlay it back: a misjudged crop produces a detached head. A saved setting or request for that method, or for shifting the audio to fix a clip's sync, gets one sentence on why it fails and the mask route offered first; never fix a clip's sync by moving the master audio.

Assembly keeps the master timeline (hard rule). Every lip-synced clip must start at its exact master-track timestamp. Keep each clip's own audio when the original mix drove it, or place each clip at its segment start on the master timeline. A crossfade overlap shortens the video by its length, so take overlaps from non-vocal footage or recompute every later position. Never pad or delay lip-sync audio. Fit mixed-aspect sources with contain (letterbox or pillarbox on a dark background) instead of centre-crop, so heads stay in frame. Before delivery, confirm the final video duration equals the master duration.

Driving audio is an intermediate. Driving lip sync with an isolated vocal or one performer's track is right for accuracy, but that audio is not what the user hears. Before showing any clip, test clips included, replace its audio with the same slice of the original mix (FFmpeg Media Editor, media-editing Skill). When a preview must stay vocal-only, say so in the reply.

Check the sync before you describe it. A lip-sync tool result, a whole-clip description or one still is not a sync check, and a closed mouth in a still is normal in a pause. Before you say anything about sync, measure the delivered file: compare the mouth region's motion with the audio's loudness frame by frame and find the lag between them. When you cannot measure it, look at stills at the loudest syllables, and say the sync could not be confirmed rather than that it may be off. Never ask the user to check it for you.

Short talking photo / dialogue (single short clip)
  • Primary: MiniMax H3 Max, image-to-video — native audio renders the dialogue synchronized with mouth movement in a single call.
  • Upgrade: Seedance 2.5, image-to-video — for better quality or lip-sync.
  • Alternative: Kling v3 Pro, image-to-video — when the user explicitly wants Kling (not Kling 4.0: it renders no speech).
  • If the dialogue is longer than the model's max duration (from the schema), use the long-form pipeline below.
  • Before describing the speech or the sync, measure them: "Check the sync before you describe it" above applies to native-audio clips too.

Multi-person frame. This is the right path whenever the source image shows 2+ people, whether one or several speak. Native audio animates the speaker(s) the prompt designates, including back-and-forth dialogue. Lipsync models are NOT a valid fallback for any 2+ person frame. The video model does not know your characters' names: name each speaker by what it can see (position, panel, clothing), with one or two speaking turns per clip. When the people sit in separate panels (split screen, video call, grid) and a line still lands on the wrong person after one regeneration, generate each panel as its own clip from that panel's region with only that person's lines, then place the clips back at their panel positions (FFmpeg Media Editor overlay or xstack). Before delivering, extract a still at each line and check who is speaking. When the user supplied the audio, follow "Supplied audio that a person must visibly perform" above and mask the performer.

Long talking photo (full narration, multi-sentence speech)

Precondition (hard): single visible person only. The lipsync model animates every detected face, so 2+ visible people all speak the same audio in unison. With 2+ people, route through "Short talking photo / dialogue" above; if the script exceeds the max duration, split it across sequential native-audio generations and stitch — never fall back to lipsync. Supplied audio follows "Supplied audio that a person must visibly perform" above.

Two-step pipeline (single-person source only):

  1. Generate the narration audio with a TTS model — see "Speech / narration / TTS" below.
  2. Lipsync the audio onto the source. Prefer image-based lipsync; fall back to video-based only if no image is available:
  • Primary (image input): VEED Fabric 1.0 (VEED Fabric 1.0 · Talking Video from Image) — pass the image in its image field whenever an image URL exists for the source (a supplied photo, generated portrait, edited avatar image). When an item exposes both a still and a video, use the still. Do not pass a video URL into an image field.
A presenter speaking voice lines across many shots

Use this when one recurring presenter speaks voice lines generated for the video (text-to-speech or a cloned voice), one line per shot (a cooking or tutorial episode, a series). Lines the user recorded follow "Supplied audio that a person must visibly perform" above.

  • Plan every shot as one of two kinds. A talk-to-camera shot shows the presenter's face while they speak, and is lip-synced to its line. A faceless shot (hands, food, product, scenery) carries the line as voiceover. Never play a line over a shot that shows the speaker's face unless that shot is lip-synced to the line.
  • Talk-to-camera shots use the still-image lip-sync route under "Long talking photo" above, which follows the line for its full length.
  • Hands-on steps (chopping, stirring, pouring) are faceless shots by default. Generating a motion clip and re-syncing it with the video lip-sync model below drifts when hands move or the head turns: use it only for a shot that must show the face speaking during the action, and tell the user its sync is weaker.
Lipsync an existing video to a different audio track

Use this when the inferred intent is to re-sync the on-camera speaker's mouth to a different audio track: an existing video clip AND a target audio track are in scope.

  • Primary: InfiniteTalk video lip-sync (InfiniteTalk Lip-sync · Video to Video) — takes both a video AND an audio input. An optional prompt guides expression, pose, or style. Read how it bills audio length (rounding, minimum, cap) when you estimate the cost.

Precondition (hard): single visible person in the source video only. It re-syncs every detected face, so 2+ visible people all mouth the new audio. In that case, if a still image (or extractable frame) exists, regenerate the shot through "Short talking photo / dialogue" above; with user-supplied audio, use that still with the masked still-image lip-sync under "Supplied audio that a person must visibly perform". If no usable still exists, surface the limitation instead of producing a broken multi-face lipsync.

Pipeline rule: when the audio is voiceover/narration not tied to the on-camera speaker, put the audio on the video with the media-editing Skill or layer it in a composition instead. When a video and a reference audio are both in scope and the intent is ambiguous between muxing the audio, cloning the voice and re-narrating, or lip-syncing, ask the user to choose before picking a path.

Video editing (URL-capable, alters an existing video)

Use this to modify (not regenerate) an existing video the user supplied — change the look, swap a region, restyle, apply a natural-language edit.

  • Primary: Kling O3 Pro Edit Video (Kling O3 Pro · Video Editing) — pass the source clip in its video field; add optional guides as reference images or character elements; write the edit instruction in the prompt. Confirm the fields in its input schema. Do not substitute a metadata identifier for the actual media input.
  • Alternative: Gemini Omni Flash video edit (see the gemini-omni-video Skill) — for a straightforward natural-language edit of a short video.

Write what changes, and keep only what must stay. Each "keep the same…" clause tells the edit model to copy that part of the source. For a camera move (an aerial or drone view, a fly-in, an orbit, another angle), describe the new camera path and keep only who and where: the people, the setting, the lighting. In a camera-move edit, do not ask it to keep the source's action, timing, framing or camera: it then returns the source's shot with the camera unchanged.

Edit models can also return the source almost unchanged. Before saying an edit changed the video, extract two or three stills at the same timestamps from the source and the output (FFmpeg Media Editor), and ask media understanding whether the requested change shows in each pair. When the pairs match, say the edit did not take and offer the next route; never present the output as edited.

Video extend (make an existing video longer)

Use this to append time to an existing clip (not a fresh regeneration).

  • Primary: Kling O3 Pro Edit Video — a continuation edit with the source clip and the continuation brief in the prompt.

If the selected model cannot edit the source, say extension is unavailable for that clip instead of routing it through a reference-to-video model and claiming it appends to the original timeline.

Background removal from video

Use this to extract an on-camera subject from its background for compositing or keying. Pick by downstream need; each tool's schema and output say which kind it returns.

  • Tools: VEED Video Background Removal (VEED Video Background Removal · Fast first, VEED Video Background Removal when the edge quality is insufficient) and Video Background Remover (Video Background Remover).
  • When the downstream pipeline expects an alpha channel (transparent video, compositing in an editor or a composition): a remover whose output is a transparent video (WebM/VP9 with a real alpha channel).
  • When the downstream pipeline expects a chroma-key (green-screen) source (legacy NLEs or any tool that keys against a flat color; a composition render has no chroma key): a remover whose output is the subject on solid green, or a background replacer given a solid green image.

If the user has not signalled either, default to the alpha-output tool.

For the subject on a plain white (or any solid) background, use a background replacer with a background image of that color; MP4 output cannot carry transparency. Tell the user that WebM keeps transparency in browsers and most editors, and that some players (for example Safari) show it on a solid background.

Background replacement in video

Use this to keep the on-camera subject and swap the background for a scene described by a prompt or reference image.

  • Primary: a video background replacer (find one that takes the source clip and a background image) — returns an MP4 with the subject over that image. It does not take a text description: when the user only describes the scene, generate the background image first, then pass its URL. When the catalog has none, remove the background (above) and composite the subject over the image (FFmpeg Media Editor overlay, or a composition).

Pick replacement when the user wants a finished clip on a new background; removal (above) when they will composite it themselves.

Face swap in video

Use this to replace a face in an existing video with a face the user supplies (usually a still image).

  • Primary: Video Face Swap (Video Face Swap) — pass the source clip and the target face reference.

Face swap is identity replacement; copying a body or movement onto a character is motion transfer (above).

A face swap can complete without changing anything (for example when no face is detected), and the tool result does not say so. For clips longer than about 15 s, first run it on a ~5 s excerpt with a clear frontal face (a small extra paid call; include it in the estimate). Before presenting any result, extract the same 2-3 timestamps from source and output, crop both to the face region at one size and compare them. A face crop that is unchanged apart from encoding noise means no face was swapped: report that as a failed swap, make no success claim and don't run the full length.

Face and hair (head replacement). The face swap keeps the target's hair, ears and head shape. When the user also wants the new person's hair or whole head, offer the face-only swap with that limit next to a head replacement, each with its price (the head replacement price includes the excerpt test below):

  • Route: the primary model under "Video editing" above, with the new person passed as a character element, not only as a reference image. Reference images guide style and appearance and give weak likeness; an element carries identity. An element needs more than one image of the person: use a second photo, or a tight head crop of the same photo (FFmpeg Media Editor crop). Confirm the element's fields in its input schema.
  • Prompt the replacement and name the target by what can be seen, for example "Replace the head of the man in the red jacket in @Video1 with @Element1: @Element1's face, hair and beard, same pose and motion". Add no "keep … exactly the same" clauses beyond the background: each one tells the model to copy the source (see "Video editing" above).
  • Test first on a 3-5 s excerpt with the clearest frontal face, even when the whole clip fits the model's limit: it costs a fraction of the full run. Extract the same stills from source and output and ask media understanding, with the user's photo and the output stills in one call, whether the head now matches the photo. When it does not, report it and offer the face-only swap; never run the full length on a failed test.
Watermark removal from video

Use this to erase an overlaid logo, captions, or other on-frame artifact from an existing video.

Locate the mark before paying: extract two or three stills and find the region that stays the same while the picture changes, or ask media understanding where it is on one still. A fixed mark in a corner or along an edge can be covered (blur, box fill) or cropped off with FFmpeg Media Editor at no generation cost; offer that next to the remover, with costs. After any removal, compare the same region in source and output: a region that barely changed means the mark is still there, so report that instead of delivering the clip as cleaned.

Video upscaling / high-resolution

Use this when the inferred intent requires higher resolution or sharpness than the generator natively produces. Generate first, then upscale; do NOT claim a resolution the upscale step did not actually produce.

If the resolution requirement is set up-front, plan generate → upscale before the first call so the cost estimate covers both steps.

Auto-clip a long video into short shareable clips

Use this to turn one long-form video into several standalone short clips.

A downstream step that consumes a single video must target one clip, not the whole array. For trimming to a single known in/out point, use a deterministic cut (FFmpeg Media Editor, media-editing Skill) instead. For source intake, aspect/clip-count/language choices, enhancement toggles, and chaining, load the long-video-clips Skill.

Download a video from a social-media link

Use this to retrieve the video behind a public social-media post link (TikTok, Instagram, X/Twitter, LinkedIn, Facebook, Twitch clips) for use as an input asset: the download tool for that platform, listed in the social-video-download Skill. Never present a downloaded clip as AI-generated.

Captions / subtitles on a video (default)

This is the default path for putting captions or subtitles on a video: one call transcribes the clip and returns it with styled subtitles rendered in.

  • Primary: VEED Subtitles (VEED Subtitles) — offers a range of caption styles plus optional per-word styling.

Fall back to "Word-level caption timing" under AUDIO when the deliverable is the word-timed caption _data_ itself, the input is audio-only, or the overlay needs custom styling beyond the presets (e.g. karaoke active-word highlighting). For the full option guide and decision tree, load the video-captions Skill.


AUDIO
Speech / narration / TTS
  • Primary: ElevenLabs Eleven v4 (ElevenLabs v4 Text to Speech) — the most expressive ElevenLabs voice, in any of its 90+ languages. Write the script with the elevenlabs-v4-prompting Skill: inline audio tags such as [pause], [whispers] or [excited] control delivery, and SSML is ignored.
  • When speed or cost matters more than peak expressiveness: Eleven v4 Turbo (ElevenLabs v4 Turbo Text to Speech) — the same tags and languages at a lower price; compare by estimating the cost on each.
  • Only when the user asks for an older ElevenLabs model by name: v3 (ElevenLabs v3 Text to Speech), Multilingual v2 (ElevenLabs Multilingual v2 Text to Speech).
  • Directed performance with natural-language style direction: Gemini TTS (the google-gemini-tts Skill).
  • For prompt-directed speech or audio that should follow reference material: Seed Audio 1.0 (Seed Audio 1.0 · Text to Audio) — accepts reference audio clips or one reference image. It does not expose a voice picker.
Long narration: confirm names before the paid runs

Before a narration of more than one run or about 5,000 characters (an audiobook, a course, a long script), the reading of its recurring names is the user's call, not yours. Unless the tool's input schema has a pronunciation field (a dictionary, phonemes), the only control is how each name is spelled in the text you send (the elevenlabs-v4-prompting Skill, "Pronunciation", lists the respelling tricks; they work for every TTS model).

  1. List every recurring proper noun the model could misread: brand, product, people's and place names, invented words, acronyms. If none, say so in the plan and go on.
  2. For each one, propose the respelling you will send (or "as written") and how it should sound, then play one short sample on the chosen voice that says each name in a sentence.
  3. Ask the user to confirm or correct each name (offer the respelling and "read as written" as the choices) and wait for that answer before the first narration run. A voice choice, an approval of the cost, or a reply that does not mention the names is not an answer about the names: ask again once, naming them; if there is still no answer, do not start the narration.
  4. Send the confirmed spelling everywhere the name appears, in every run, and list it in the plan so later runs and fixes use the same one.
Voice change / speech-to-speech (keep the words, change the voice)

If both a video and a reference audio are in scope and the intent could mean muxing, cloning and re-narrating, or lip-syncing, ask the user to choose before picking any of these models.

Music generation

When an Eleven Music composition plan gives a section lyric lines, that section must ask to be sung: the lines alone do not make it sing, and the model can play a lyric section as an instrumental passage. In every section with lyrics, put a clearly audible lead vocal (with the voice the song calls for, such as "female lead vocals, clearly audible") among the styles that section emphasizes, and put "instrumental" among the styles that section avoids. Keep "instrumental" out of the whole-song styles and leave the instrumental-only option off whenever any section has lyrics; sections without lyrics may stay instrumental. Confirm the plan's fields in its input schema.

Sound effects (short SFX clips)
  • Primary: ElevenLabs Sound Effects (ElevenLabs Sound Effects) — short sound effects from a text prompt (ambient, foley, transitions).
Voice isolation / clean up noisy audio
  • Primary: ElevenLabs Voice Isolator (ElevenLabs Voice Isolator) — isolates speech from background noise or music in an existing clip.
Isolate an arbitrary sound from an audio file by description

Use this to extract a specific sound from an existing audio file described by what it is ("the piano", "the dog barking"), not to clean up speech.

For clean speech from a noisy recording, use the voice isolator above. Put any time ranges in the natural-language prompt.

Isolate a sound from a video by visual / spatial cue

Use this when the sound source in an existing video is identified by where or how it appears on screen ("the person on the left").

If only audio is in scope, or the discriminator is purely audio content, extract the audio (media-editing Skill) and use the text-prompted separator.

Transcription (text, timestamps, or structured speech data)
  • Primary for supplied audio or video: ElevenLabs Scribe v3 (Scribe v3) — the most accurate transcription, including mixed-language conversations (for example Hindi and English), with speaker-labelled turns and optional timestamps. Confirm the fields in its input schema.
  • YouTube links: run the media understanding tool (see MEDIA UNDERSTANDING) with the YouTube link as its video and an instruction to transcribe every spoken word verbatim, in the language spoken, with timestamps when the user wants them. It watches the video from the link itself, so do not download it first.
  • Other social links (TikTok, Instagram): find a transcription tool whose schema takes that platform's link. When none does, download the video first (social-video-download Skill) and transcribe the file. When a tool's schema branches on the source (an input mode selecting a file field versus a link field), set the branch to match the source: only the field for the selected branch is read.
  • Read the result the tool actually returned, and never rerun a paid transcription only because a file link is missing. Use the text inline in the result, or the file URL the tool returned, and follow the tool result's own instructions for a large result.
Word-level caption timing (fallback — only when the default video subtitler won't do)

Use this only in the fallback cases listed under "Captions / subtitles on a video (default)". It is also the word-timing source for scenes placed on a song's lyrics (video-production Skill, "Scenes that follow a song's lyrics"); that use shows no captions and needs no caption style.

Capabilities

Used in this skill · 64

  • Use when producing a narrative video about historical figures, fictional stories, day-in-the-life pieces, educational explainers with a protagonist, brand mascot stories, and any narrative video that depends on a consistent main character across scenes. Methodology for producing multi-scene character-driven short films: covers the full 11-phase pipeline — creative brief, style reference, character sheet, scene stills, animation, voiceover, per-clip audio mix, stitching, music with proper fade technique, optional subtitles, and optional Fin card — plus approval gates, parallelization strategy, asset naming, and the prompting principles that hold across video models. Tool and model selection is delegated to model-recommendations.

  • Use whenever the inferred intent is a continuous tracking shot or a long single-take video built from chained clips, including character-following journeys ("the character walks from room to room", "follow the figure across the city"), or an AI transition between two known frames (a first-to-last-frame clip from a start image to an end image, seamless loops from one image, chains of transitions A→B→C). Frame chaining: extract last frame → feed as next input → repeat → stitch. Covers workflow modes (all-at-once vs step-by-step), prompting rules, aspect ratio discipline, last-frame quality control, stitching, character continuity (original reference on every clip through reference-to-video, the handoff frame as an extra reference only, locked character description string, locomotion-through-space rule, the rear-facing danger, corrective stills), the morphing problem and visual bridges, and prompting cheat sheets for style/audio/camera.

  • Use when the user explicitly asks for Gemini Omni, Omni Flash or Google's Omni video model: text-to-video, image-to-video, reference-to-video or editing a short video with Gemini Omni. Covers finding the tools, duration format, edit-video preparation, prompt structure, media role tags, audio behavior, text rendering, timing, and how to prepare source media.

  • Use when a HyperFrames composition needs any motion or animation: atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

Questions about Model Recommendations

What does the Model Recommendations skill do?

Use whenever the user asks to generate or edit media, before you find a tool or read its input schema. Curated default model per use case for image, video, audio, and 3D generation, each with its catalog tool. An explicit current-request, project, or workspace model preference takes precedence; otherwise use the curated default. Covers image edit/generate, text edits on images, still-image face swaps, image upscaling and background removal, layer separation, real 3D requests that require a mesh or GLB output, media understanding, start-end frame video, UGC and product ads, cinematic humans, motion transfer, talking photos and lip-sync, video editing, extension, background removal, face swap, watermark removal, upscaling, auto-clipping, TTS, voice change, music, sound effects, audio separation, transcription, and captions. Model capabilities change constantly, so use this skill instead of recalling defaults from memory.

Which tools does Model Recommendations use?

It runs FFmpeg Media Editor, GPT Image 2.6 Flare · Text to Image, GPT Image 2.6 Sunburst · Text to Image, Nano Banana 2.1 · Text to Image, Nano Banana 2 · Text to Image, Nano Banana Pro · Text to Image, GPT Image 2.6 Sunburst · Edit, GPT Image 2.6 Flare · Edit, Nano Banana 2.1 Edit, Topaz Upscale · Precision Image Upscaling, Topaz Upscale · Generative Image Upscaling, Pixelcut Background Remover, 851 Labs Background Remover, Image Background Remover, Seedream 5.5 Layerize, Meshy 7.1 Text to 3D, Meshy 7.1 Image to 3D, Meshy 7.1 Multi-Image to 3D, Gemini 3.8 Flash Media Understanding (image, video, audio, PDF), Gemini Decision 1, Mistral OCR Latest, MiniMax H3 Max Text to Video, MiniMax H3 Max Image to Video, MiniMax H3 Max Reference to Video, Seedance 2.5 · Text to Video, Seedance 2.5 · Image to Video, Seedance 2.5 · Reference to Video, Kling 4.0 Text to Video, Kling 4.0 Image to Video, Kling 3.0 Pro · Image to Video, Kling 3.0 Pro · Text to Video, Kling 3.0 Pro · Motion Control, Scribe v3, InfiniteTalk Lip-sync · Image to Video, VEED Fabric 1.0 · Talking Video from Image, InfiniteTalk Lip-sync · Video to Video, Kling O3 Pro · Video Editing, VEED Video Background Removal · Fast, VEED Video Background Removal, Video Background Remover, Video Face Swap, Video Watermark Remover, Video Upscaler Pro, Vizard · Long Video to Short Clips, VEED Subtitles, ElevenLabs v4 Text to Speech, ElevenLabs v4 Turbo Text to Speech, ElevenLabs v3 Text to Speech, ElevenLabs Multilingual v2 Text to Speech, Seed Audio 1.0 · Text to Audio, ElevenLabs Voice Changer (Multilingual), ElevenLabs Voice Changer (English), ElevenLabs Dubbing v2, MiniMax Voice Cloning, MiniMax Speech 2.8 HD · Text to Speech, Lyria 3.5 · Music Generation, ElevenLabs Music, ElevenLabs Sound Effects, ElevenLabs Voice Isolator, SAM Audio · Text-Prompted Sound Separation, Demucs Stem Separation, SAM Audio · Video-Prompted Sound Separation, Nova-3 Speech to Text, Universal-3.5 Pro Speech to Text through Spiral, each at the price on its tool page.

Does the Model Recommendations skill cost anything?

The skill is free. The tools it runs are billed pay-as-you-go from your Spiral balance at each tool's stated price, with no plan.

How does my agent know when to use Model Recommendations?

An agent reads each skill's description and loads its instructions when a request matches it.

How do I add Model Recommendations to Claude Code?

Save its files into ~/.claude/skills/model-recommendations/ with the commands on this page; Claude Code loads it when it starts.

Can I use Model Recommendations in other agents?

Yes. Any agent that reads Agent Skills folders loads the same files, and any other agent reads the skill with `spiral agent-skills get model-recommendations --json` or the Spiral API.

Is Model Recommendations on for my Spiral organization?

Yes. Built-in skills are on for every organization; an admin can turn Model Recommendations off on the console's Skills page.

Where is the Model Recommendations SKILL.md file?

At https://spiral.ai/skills/model-recommendations/SKILL.md, with no key needed. On the console's Skills page, Customize saves a copy you can edit as your organization's own skill.