Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计异常

media-craft媒体工艺

Agent Skill

media-craft 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

222

周安装

9

GitHub Stars

2

下载量

70
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:media-craft(媒体工艺)
来源仓库:https://github.com/nanhesam/media-craft-skill
仓库路径:skills/media-craft
安装命令:
npx skills add https://github.com/nanhesam/media-craft-skill --skill media-craft
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/nanhesam/media-craft-skill --skill media-craft

简介

media-craft 用于媒体资源的查找与筛选,支持基于关键词的任务导向检索。

  • 适用于多来源媒体内容聚合、线索匹配和分类管理。
  • 通过 npx skills add 命令从 media-craft-skill 仓库安装使用。
  • 安装前应确认权限、维护状态及是否涉及网络或文件操作。
  • 建议查阅原始 README 了解具体功能边界与使用示例。

SKILL.md

Media Craft — obra CLI Skill

Overview

obra is a unified CLI for AI media generation. It handles images, videos, and music through a consistent async-task workflow. Use this skill whenever the user asks to generate, create, edit, transform, upscale, or enhance any media.

Prerequisites

npm install -g obra
obra config set kie.apiKey YOUR_API_KEY

Core Workflow

Every obra command follows the same pattern:

  1. Preferred: synchronous with --wait --json — blocks until the task completes and returns JSON with output URLs.
  2. Save output directly — add -o <path> to download the result to a local file.
  3. Async fallback — if --wait is not used, obra returns a task ID. Poll with obra status <id> --wait --json, then download with obra download <id> -o <dir>.

Always use --wait --json unless the user explicitly wants async behavior.


Image Generation

Generate images from text prompts.

obra image generate "a serene mountain lake at sunset" --wait --json

Key Flags

FlagDescription
--model <model>Model to use (default: flux-2/pro-text-to-image)
--param <key=value>Model-specific parameter (repeatable)
--params-json <json>JSON object of model parameters
-o <path>Save output to file

Model-specific parameters vary by model. Common ones include aspect_ratio, seed, negative_prompt, width, height. Use obra image info <model> to see available parameters for a specific model.

Example: specific model and aspect ratio

obra image generate "cyberpunk cityscape" --model google/imagen4 --param aspect_ratio=16:9 --wait --json

Available Image Models

Discover models with:

obra image list
obra image info <model-name>

Notable models: flux-2/pro-text-to-image, google/imagen4, grok-imagine/text-to-image, gpt-image/1.5-text-to-image, seedream/4.5-text-to-image, qwen/text-to-image, ideogram/character, z-image.


Image Editing & Transformation

Image-to-Image (Edit with Reference)

Provide an input image URL plus a prompt describing the edit. Use --param image_urls=<url> to pass the reference image (must be a URL, not a local path):

obra image generate "make it look like winter" --model seedream/4.5-edit --param image_urls=https://example.com/input.jpg --wait --json

Edit-capable models: seedream/4.5-edit, bytedance/seedream-v4-edit, qwen/image-edit, grok-imagine/image-to-image, gpt-image/1.5-image-to-image, google/nano-banana-edit, google/pro-image-to-image, ideogram/character-edit.

Use obra image info <model> to check the exact parameter names for each model.

Upscaling

Some upscale models take a task_id from a previous generation task:

obra image generate "" --model grok-imagine/upscale --param task_id=<previous-task-id> --wait --json

Other upscale models accept image URLs directly:

obra image generate "upscale" --model topaz/image-upscale --param image_urls=https://example.com/low-res.jpg --wait --json

Upscale models: grok-imagine/upscale, topaz/image-upscale, recraft/crisp-upscale.

Background Removal

obra image generate "" --model recraft/remove-background --param image_urls=https://example.com/photo.jpg --wait --json

Reframing (Extend / Outpaint)

obra image generate "extend the scene" --model ideogram/v3-reframe --param image_urls=https://example.com/photo.jpg --wait --json

Character Remix

obra image generate "character in a new style" --model ideogram/character-remix --param image_urls=https://example.com/character.jpg --wait --json

Video Generation

Generate videos from text or images.

obra video generate "a cat playing piano" --wait --json

Key Flags

FlagDescription
--model <model>Video model to use
-i, --image <path>Input image for image-to-video
--param <key=value>Model-specific parameter (repeatable)
--params-json <json>JSON object of model parameters
-o <path>Save output to file

Model-specific parameters (aspect ratio, duration, etc.) vary by model. Use obra video info <model> to see available parameters.

Image-to-Video

obra video generate "bring this scene to life" -i scene.jpg --wait --json

Available Video Models

obra video list
obra video info <model-name>

Notable models by provider:

  • xAI: grok-imagine/text-to-video, grok-imagine/image-to-video
  • Kuaishou: kling-2.6/text-to-video, kling-2.6/image-to-video, kling/v2-1-master-text-to-video
  • OpenAI: sora-2-text-to-video, sora-2-pro-text-to-video, sora-2-image-to-video, sora-2-pro-image-to-video
  • Alibaba: wan/2-6-text-to-video, wan/2-6-image-to-video
  • MiniMax: hailuo/02-text-to-video-pro, hailuo/2-3-image-to-video-pro
  • Bytedance: bytedance/seedance-1.5-pro, bytedance/v1-pro-image-to-video

Video Editing & Transformation

Video-to-Video

Transform an existing video with a new prompt:

obra video generate "convert to anime style" -i input.mp4 --model wan/2-6-video-to-video --wait --json

Video Upscaling

obra video generate "upscale" -i low-res.mp4 --model topaz/video-upscale --wait --json

Watermark Removal

obra video generate "remove watermark" -i watermarked.mp4 --model sora-watermark-remover --wait --json

Motion Control

obra video generate "camera pan left" -i scene.jpg --model kling-2.6/motion-control --wait --json

AI Avatars

Generate talking-head avatar videos:

obra video generate "introduce yourself as a tech reviewer" -i avatar.jpg --model kling/ai-avatar-pro --wait --json

Models: kling/ai-avatar-standard, kling/ai-avatar-pro.

Speech-to-Video

obra video generate "speaking character" -i audio.wav --model wan/2-2-a14b-speech-to-video-turbo --wait --json

Storyboard

obra video generate "scene 1: ...; scene 2: ..." --model sora-2-pro-storyboard --wait --json

Music Generation

Generate music from text prompts.

obra music generate "upbeat electronic dance track" --wait --json

Key Flags

FlagDescription
-m, --model <model>Model version: V3_5, V4, V4_5, V4_5PLUS, V4_5ALL, V5 (default: V4_5)
-i, --instrumentalGenerate without vocals
-c, --custom-modeEnable custom mode (requires --style and --title)
-s, --style <style>Music style/genre (requires --custom-mode)
-t, --title <title>Track title (requires --custom-mode)
--vocal-gender <gender>m or f
--negative-tags <tags>Music styles to exclude
--style-weight <n>Style adherence strength (0-1)
--weirdness-constraint <n>Creative deviation control (0-1)
--audio-weight <n>Audio feature balance (0-1)
-o <path>Save output to file

Instrumental Track

obra music generate "calm lo-fi hip hop beat for studying" --instrumental --wait --json

Custom Mode

obra music generate "lyrics here..." --custom-mode --style "indie folk" --title "Morning Light" --wait --json

Lyrics Generation

Generate lyrics from a prompt (synchronous, no --wait needed):

obra music lyrics "a song about coding at 3am" --json

Music Videos

Generate a music video from a completed music task:

obra music video <taskId> <audioId> --wait --json

The taskId and audioId come from the output of a prior obra music generate command.


Synchronized Lyrics (Timestamps)

Get word-level timestamps for generated music:

obra music timestamps <taskId> <audioId> --json

Model Discovery

List and inspect available models for any media type:

obra image list          # list image models
obra video list          # list video models
obra music list          # list music models

obra image info <model>  # detailed info about a specific model
obra video info <model>

Task Management

obra status              # show all running tasks
obra status <id> --wait --json  # wait for a specific task
obra download <id> -o ./output  # download task results
obra history list        # list past tasks
obra history show <id>   # show details of a past task

Best Practices

  1. Always use --wait --json to get structured output with download URLs in a single call.
  2. Use -o <path> to save files directly when the user wants a local file.
  3. Write detailed prompts — more descriptive prompts produce better results across all media types.
  4. Chain workflows — e.g., generate an image, then use it as input for image-to-video, then upscale the video.
  5. Check model availability — run obra <type> list to see current models before specifying one.
  6. Parse JSON output — when --json is used, parse the JSON to extract URLs, task IDs, and metadata for downstream use.

适合场景

01

文本生成图片

02

图片风格化

03

产品图和创意图

04

需要 FLUX 模型时

能力概览

能力 1

调用 FLUX 图像模型

能力 2

支持文本生图和图像改写

能力 3

覆盖 LoRA 或风格适配

能力 4

适合创意视觉生成

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

31.87%
按下载量换算22

Claude

30.71%
按下载量换算21

Cursor

17.27%
按下载量换算12

Gemini CLI

10.15%
按下载量换算7

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

未通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills