yangel-hide/video-production-planner-agent/generate-img
Claude Code and agent skill by yangel-hide/video-production-planner-agent
- community
Checking that the SKILL.md file is still in the repository.
Use when a user wants MagicLight text-to-image or image-to-image generation from a prompt and optional source image URL
Install
npx vskill@latest install yangel-hide/video-production-planner-agent/generate-imgSKILL.md
The same SKILL.md was published earlier as yangel-hide/video-production-planner-agent/generate-img.
Generate Img
Overview
Use this skill to generate images with the MagicLight open task API. It handles both text-to-image (t2i) and image-to-image (i2i) requests through a stable Python script instead of ad hoc curl commands.
When To Use
- The user wants to create an image from a text prompt
- The user wants to transform an existing image while preserving some visual identity
- The user explicitly wants the MagicLight image API instead of a local model or another provider
- The task needs a reproducible command that returns a final image URL in structured JSON
Do not use this skill for video generation. Use generate-video for image-to-video workflows.
When this skill is loaded inside the video production chain, treat its output as a reusable still/reference asset for downstream generate-video tasks and preserve the returned URL or saved file path in the asset manifest.
Workflow
- Confirm the required environment variables exist:
MAGIC_SVC_KEYMAGIC_SVC_AUTHMAGIC_USER_ID
- Choose mode:
- If the user provides only
prompt, uset2i - If the user provides
promptand a source image URL, usei2i
- Invoke
scripts/generate_image.pyfrom this skill directory. - Return the
primary_image_urland any relevant task metadata to the user.
Always use the script. Do not handcraft JSON payloads in the model response unless the user specifically asks to see them.
Commands
Text-to-image:
Image-to-image:
Inputs
- Required:
--prompt- Optional:
--image-urlswitches the request toi2i--image-mime-type--aspect-ratio--model--task-id--base-url--user-id--timeout
Output
The script prints JSON with:
typetask_idstatusneed_queryprimary_image_urlimagestextraw_response
If the API response is malformed or unsuccessful, the script exits non-zero and prints a clear error message.
Reference
Read references/api.md if you need to inspect the exact payload shapes or response contracts.
Common Mistakes
- Missing environment variables: fail fast and tell the user which variable is absent
- Using
generate-imgfor video requests: route those togenerate-video - Forgetting
--image-urlfor image-to-image edits: without it the script will submitt2i
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/creative/generate-img/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/yangel-hide/video-production-planner-agent/generate-img)