원클릭으로
media-generation-skill
Expert knowledge for AI media generation — image prompting, video workflows, music composition, and TTS best practices
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Expert knowledge for AI media generation — image prompting, video workflows, music composition, and TTS best practices
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Expert knowledge for AI data analytics -- statistical methods, visualization best practices, pandas reference, and reporting patterns
Expert knowledge for AI API testing -- HTTP reference, testing patterns, OpenAPI parsing, and load testing techniques
Playwright-based browser automation patterns for autonomous web interaction
Expert knowledge for AI video clipping — yt-dlp downloading, whisper transcription, SRT generation, and ffmpeg processing
Expert knowledge for AI intelligence collection — OSINT methodology, entity extraction, knowledge graphs, change detection, and sentiment analysis
Expert knowledge for AI DevOps automation -- CI/CD patterns, infrastructure monitoring, deployment strategies, and incident response playbooks
| name | media-generation-skill |
| version | 1.0.0 |
| description | Expert knowledge for AI media generation — image prompting, video workflows, music composition, and TTS best practices |
| runtime | prompt_only |
Generate images from text prompts via OpenAI or MiniMax.
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | yes | — | Text description of the desired image |
provider | string | no | auto | openai or minimax |
model | string | no | provider default | gpt-image-1, dall-e-3, image-01 |
width | int | no | 1024 | Image width in pixels |
height | int | no | 1024 | Image height in pixels |
count | int | no | 1 | Number of images (1-4) |
quality | string | no | auto | low, medium, high, auto |
seed | int | no | random | Reproducibility seed |
Provider-specific notes:
revised_prompt in response). Only generates 1 image per call.Result: Returns images array with url fields pointing to /api/uploads/{id}.
Convert text to spoken audio.
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
text | string | yes | — | Text to speak (max ~4096 chars per call) |
provider | string | no | auto | openai or minimax |
model | string | no | provider default | tts-1, tts-1-hd, speech-2.8-hd |
voice | string | no | alloy | Voice selection (see table below) |
speed | float | no | 1.0 | Playback speed (0.25 - 4.0) |
format | string | no | mp3 | mp3, wav, flac, opus, aac |
OpenAI voices:
| Voice | Character |
|---|---|
alloy | Neutral, balanced |
echo | Male, warm |
fable | Storytelling, expressive |
nova | Female, friendly |
onyx | Deep male, authoritative |
shimmer | Warm female, gentle |
MiniMax voices:
| Voice | Character |
|---|---|
English_Graceful_Lady | Female, elegant |
English_Calm_Man | Male, composed |
English_Energetic_Girl | Female, upbeat |
Tips:
tts-1-hd is higher quality but slower; use tts-1 for draftsResult: Returns url to the audio file, format, duration_ms, sample_rate.
Submit an asynchronous video generation task. Video generation takes 1-3 minutes.
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | yes | — | Scene description |
provider | string | no | auto | Currently only minimax |
model | string | no | T2V-01 | Video model |
duration_secs | int | no | 5 | Video duration (5-10 seconds) |
resolution | string | no | 1080p | 720p, 1080p |
Prompt writing for video:
Good prompts:
Bad prompts:
Result: Returns task_id and provider. You MUST poll with video_status.
Poll the status of a video generation task.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
task_id | string | yes | From video_generate response |
provider | string | yes | Must match the provider from video_generate |
Statuses:
| Status | Meaning | Action |
|---|---|---|
pending | Queued, not started | Wait 10-15s, poll again |
processing | Actively generating | Wait 15-20s, poll again |
completed | Done | Result includes file_url |
failed | Generation failed | Check error message, may retry with different prompt |
Polling pattern:
Result (completed): Returns file_url, width, height, duration_secs, provider, model.
Generate music from a text prompt and/or lyrics.
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | no* | — | Style/mood description |
lyrics | string | no* | — | Song lyrics with structure |
provider | string | no | auto | Currently only minimax |
model | string | no | music-2.5 | Music model |
instrumental | bool | no | false | Generate without vocals |
format | string | no | mp3 | mp3, wav, flac |
*At least one of prompt or lyrics is required.
Prompt writing for music:
For instrumentals, describe:
For songs with vocals, provide lyrics with structure markers:
[Verse 1]
Walking down the empty street
Moonlight dancing at my feet
[Chorus]
This is where the night begins
Let the music pull us in
[Verse 2]
...
Good prompts:
prompt: "Chill lo-fi hip-hop beat, vinyl crackle, mellow piano chords, 85 BPM, rainy day vibe"prompt: "Epic orchestral trailer music, building tension, brass and strings, 140 BPM"prompt + lyrics: "Indie folk acoustic ballad, fingerpicking guitar, gentle male vocals" with lyricsResult: Returns url to audio file, format, duration_ms, sample_rate.
music_generate — instrumental jingle, 10-15 seconds, upbeattext_to_speech — "Welcome to [show name]..." with energetic voiceimage_generate — eye-catching visual for the posttext_to_speech for accessibility audio versiontext_to_speech — generate narration audiovideo_generate — generate matching video clipvideo_status — poll until completeimage_generate — album cover artworkmusic_generate — short preview track matching the artwork moodtext_to_speech for each section with consistent voice| Error | Cause | Fix |
|---|---|---|
missing_key | API key not configured | Ask user to set OPENAI_API_KEY or MINIMAX_API_KEY |
not_supported | Provider doesn't support this modality | Switch to a provider that does |
content_filtered | Safety filter rejected the prompt | Rephrase without prohibited content |
rate_limited | Too many requests | Wait 30-60 seconds and retry |
invalid_request | Bad parameters | Check parameter ranges (e.g., count 1-4, speed 0.25-4.0) |
| Capability | OpenAI | MiniMax |
|---|---|---|
| Image generation | gpt-image-1, dall-e-3 | image-01 |
| Text-to-speech | tts-1, tts-1-hd | speech-2.8-hd |
| Video generation | — | T2V-01, video-01 |
| Music generation | — | music-2.5 |
Auto-detection priority: OpenAI > MiniMax (for capabilities both support). If only MiniMax key is set, all 4 modalities are available through MiniMax.