agentleFS
jwjackwjwjackw/somnei-studio/skills/generate/SKILL.md

generate

Skill0 starsChanged 2 months agoMITView on GitHub

Generate video, image, song or voiceover ads through Somnei Studio (kie.ai models: Veo 3, Kling 3.0, Seedance 2.5, Wan 2.7, HappyHorse, MiniMax H3, Grok Imagine, Gemini Omni, Runway Aleph, OmniHuman, Kling Avatar, InfiniTalk, Nano Banana 2, GPT Image 2, Seedream 5, Flux 2, Topaz, Suno, ElevenLabs). Use when: "make a video", "animate this photo", "image to video", "make an ad", "UGC video", "talking avatar", "lip sync", "product shot", "ad static", "edit this clip", "make a song/jingle", "voiceover". NOT for: multi-scene ads that need a script and approval first (use storyboard).

17 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 16 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Price first, spend second: Every spending command stops and prints its cost (exit code 2) unless given --yes / confirm=true.

    line 23
  2. Very specific:

    Check the server: If a command says the server is not running, start it with python server.py from the repo (or ask the user to open the …

    line 26
  3. Very specific:

    Read references/prompting.md before writing any prompt.

    line 67
  4. Very specific:

    Put the camera move in words the model knows (dolly in, orbit, crash zoom, handheld selfie).

    line 70

“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Somnei Studio: generate

Runs one generation through a local Somnei Studio server (http://localhost:4950) with the studio CLI (python cli.py in the repo) or the somnei-studio MCP tools.

Rules that always apply

  1. Price first, spend second. Every spending command stops and prints its cost (exit code 2) unless given --yes / confirm=true. Show the cost to the user and get a clear yes before confirming. 1 credit = $0.005.
  2. Check the server. If a command says the server is not running, start it with python server.py from the repo (or ask the user to open the app).
  3. Describe the model before using it. studio model <key> lists every setting, allowed value and media input. Never guess a setting name.
  4. Use the user's real product images. Pass their files with -m, never substitute an AI-made product. Product fidelity comes from references, not from prompt words.

Loop

python cli.py credits                          # balance
python cli.py models --kind video              # pick a model (see below)
python cli.py model kling3                     # its settings
python cli.py cost kling3 -p "..." -s duration=5 -m image_urls=product.png
python cli.py generate kling3 -p "..." -s duration=5 -m image_urls=product.png          # prints cost, exit 2
python cli.py generate kling3 -p "..." -s duration=5 -m image_urls=product.png --yes --wait

-m key=path uploads a local file automatically; an asset id or URL also works. Results land in ~/Downloads/somnei-studio/ and in studio jobs.

Picking a model

NeedModel keyWhy
Person talking to camera with real speech and soundveo3Speech, lip sync and ambience in one pass. 8s. 60 credits Fast.
Animate a start frame (product or scene), 3 to 15skling3Best motion per credit. mode=pro for 1080p, sound=true for audio.
Copy motion or look from reference clips or several imagesseedance25Takes frames or up to 9 image, 3 video, 3 audio references.
Cheapest realistic motionminimax-h38 credits per second.
Quick throwaway testgrok-i2vAbout 27 credits.
Keep a person or product consistent across shotswan27-r2v, happyhorse-refReference-to-video.
Change an existing clip with wordswan27-edit, happyhorse-edit, alephVideo edit.
Photo plus voice track becomes a talking headomnihuman (best), kling-avatar, infinitalkCosted per second of audio.
Voice track for an avatarttsElevenLabs, 6 credits per 1k characters.
Song or jinglesuno2 takes, 12 credits.
Ad static, first frame, text in imagenano-banana-2Accurate text rendering, up to 14 references.
Photoreal product or skin textureseedream5, gpt-image-2
Sharpen before animatingtopaz-image

Prompting

Read references/prompting.md before writing any prompt. Short version:

  • Video prompts describe one continuous shot: subject, action, camera move, light, sound.
  • Put the camera move in words the model knows (dolly in, orbit, crash zoom, handheld selfie). The Studio UI has one-click chips for these; the phrases are in presets.json.
  • Image-to-video: describe only what changes. The frame already shows what things look like.
  • Spoken lines go in quotes. Keep them under about 20 words for an 8s clip.
  • Nano Banana renders capitalised instruction words as text. Keep instructions lowercase and quote only the copy you want printed.

Failures

studio job <id> shows the error from kie.ai. Common ones: content filter (reword, remove brand names or body terms), wrong aspect ratio for the model (studio model <key>), expired media link (the server re-uploads files older than 20 hours automatically).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.