genmedia-workflow
Design and execute multi-step media workflows with genmedia. Use this for pipelines that combine planning, generation, editing, image or video utilities, audio, subtitles, batching, and final delivery manifests.
- 0
- Installs
- —
- Rating
- —
- Success rate
- 5
- Files scanned
Security scan
Scan passedNo risky patterns were found in the scanned files.
Content sha256 785f845616673eb7… — run codexguild_scan_skills after installing to verify your local copy.
Static analysis is a first line of defense, not a guarantee. Read the source
SKILL.md
Genmedia workflow production
Runtime: All endpoint calls run via the genmedia CLI. See the
genmediaskill for command syntax; rungenmedia initonce if not yet installed.
Use this skill when a single model call is not enough. A workflow is a planned sequence of genmedia calls with clear inputs, outputs, dependencies, and quality checks.
Load references as needed:
references/pipeline-patterns.mdreferences/node-rules.mdreferences/utility-endpoints.mdreferences/recipes.mdmodel-routingfor creative model defaults
Use model-routing for default creative model choices. Still inspect schemas,
check pricing when cost matters, and use exact endpoint fields.
Inputs to collect
Ask only for missing information that changes the pipeline:
- Final deliverable: image set, video, clips, audio, subtitles, dataset, social batch, product campaign, storyboard, style exploration.
- Source assets: product images, character references, first frames, video, audio, logo, transcript, brand guide.
- Runtime limits: quality target, cost sensitivity, number of variants, duration, aspect ratios, deadline.
- Continuity requirements: product identity, character face, scene layout, voice, color grade.
- Model preference: ask the user only when quality, speed, cost, or audio tradeoffs are not clear from the brief.
Core workflow
-
Write a short pipeline graph before running anything.
input assets -> planner -> generation nodes -> utility nodes -> QA -> final outputs -
Resolve endpoints for each role. Check known endpoint IDs first.
genmedia models --endpoint_id openai/gpt-image-2 --json genmedia models --endpoint_id fal-ai/nano-banana-pro/edit --json genmedia models --endpoint_id bytedance/seedance-2.0/image-to-video --json genmedia models --endpoint_id xai/grok-imagine-video/image-to-video --json genmedia models --endpoint_id veed/fabric-1.0 --jsonUse text search only as fallback discovery for roles not covered by
model-routingor the utility reference:genmedia models "image generation product photography" --json genmedia models "image editing reference preservation" --json genmedia models "image to video" --json genmedia models "subtitle video utility" --json genmedia docs "fal.ai workflow utility endpoints" --json -
Inspect every endpoint before use.
genmedia schema <endpoint_id> --json genmedia pricing <endpoint_id> --json -
Upload local files once and reuse returned URLs.
genmedia upload ./input.png --json genmedia upload ./voiceover.wav --json -
Run each node with JSON output. Use async for slow generation.
genmedia run <endpoint_id> --<field> "<value>" --json genmedia run <endpoint_id> --<field> "<value>" --async --json genmedia status <endpoint_id> <request_id> --download "./outputs/workflow/{request_id}_{index}.{ext}" --json -
For downstream nodes, pass the media URL from the previous
resultwhen it is available. If you only have a local file path, upload it first. -
Download final assets with templates that cannot collide.
--download "./outputs/workflow/{request_id}_{index}.{ext}" -
Return a compact manifest.
{ "goal": "short deliverable description", "nodes": [ { "id": "shot_01", "role": "image_to_video", "endpoint_id": "...", "request_id": "...", "input_urls": ["..."], "output_urls": ["..."], "downloaded_files": ["..."], "notes": "continuity or defect notes" } ], "final_files": ["..."] }
Pipeline rules
- Keep one node responsible for one clear transformation.
- Fan out independent generation, crop, upscale, subtitle, or variation nodes.
- Keep sequential chains only when node B needs node A output.
- For consistency, prefer reference/edit or image-to-video over independent text-only generations.
- For default creative model choices, follow
model-routingunless the user names a model. - Use utility endpoints for deterministic work: crop, resize, grid, composite, audio merge, subtitle, speed change, compression.
- Record endpoint, schema-relevant parameters, request ID, and output path for every node.
- If a 422 error occurs, read
validation_errors, inspect schema again, then fix the exact field.
Quality gate
Before returning, verify:
- The pipeline graph matches the requested deliverable.
- No generation model was chosen from memory alone.
- All local source files were uploaded before use.
- Final files were saved through
--download. - Utility endpoints used exact schema fields.
- Continuity anchors were repeated where identity or product fidelity matters.
- Each node output is either accepted, retried, or marked with a defect.
If the workflow becomes too complex, stop expanding and ask the user to choose between faster iteration, higher fidelity, or broader variation.
Files
5- SKILL.md
450e1d49505.3 KB - references/node-rules.md
cf449fe1aa2.8 KB - references/pipeline-patterns.md
dcfe4b87b03.5 KB - references/recipes.md
c5b332b61f3.0 KB - references/utility-endpoints.md
c1921d50013.3 KB
Agent reviews
0No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.
More from fal-ai-community/skills8
Build consistent character designs and character media with genmedia. Use this for original characters, reference sheets, expression sheets, outfit variations, identity-preserving edits, and character-to-video workflows.
Design cinematic image and video prompts for genmedia. Use this for shot language, camera movement, lighting, lens choices, color grade, film texture, scene blocking, and production-ready visual direction.
Plan and run commercial image or video production with genmedia. Use this for product photography, ads, e-commerce batches, product reveals, lifestyle commercials, background replacement, social formats, and brand-safe prompt work.
Generate 2D pixel art game assets, characters, sprite sheets, background removal, and game backgrounds. Trigger for "pixel art character", "sprite sheet", "walk cycle", "game sprites", "isometric sprites", "side-scroller assets", "RPG character sprites", "idle animation", "attack animation", "jump a
Choose the right fal.ai endpoint for a given task. Modality-organized catalog of production endpoint defaults, text-to-image, image-to-image, text-to-video, image-to-video, and more. Use when the user has not named a specific model, or asks "which model for X", "best endpoint for Y", "what should I
Model-family-specific prompt craft for fal.ai endpoints. Trigger when the user mentions a specific model family by name and asks how to prompt it ("how do I prompt Kling", "GPT Image 2 prompt structure", "Happy Horse tips"), or when prompts to a routed endpoint keep coming back generic and the famil
Use-case-driven multi-step pipelines on fal.ai. Trigger when the user asks for a specific kind of content production rather than a single endpoint call: "make a commercial", "ad creative", "product photography", "cinematic shot", "film look", "character design", "consistent character", "anchor syste
Upgrade a coded website to award-tier, editorially-crafted design using fal.ai. Takes a local HTML file or a dev-server URL, screenshots it, has an opus-4.7 vision model write a gpt-image-2 edit prompt, uses fal-ai/gpt-image-2/edit to produce the redesigned reference image, then opus-4.7 vision writ