APIKO Media
БесплатноЗапускает вложенные скриптыНе проверенGenerate or edit images and generate videos through the APIKO API (Nano Banana, GPT Image, Seedream, Wan 3.0, Seedance). Use when the user asks to create an…
от tong0619453646-dev170 установок в других каталогахОб этом скилле
APIKO image and video generation
Create images and videos with models served by APIKO (https://apiko.app/) through one API key. Jobs run asynchronously: they take from about 20 seconds to over 10 minutes, so this skill submits the job, polls it, and saves the file. The bundled script scripts/apiko_media.py does all of that with the Python standard library only.
Step 1: Understand the request
- Pick the job type: text to image, image edit (one or more reference photos), text or image to video, or video from reference images and clips.
- Use the user's own words as the prompt. Do not rewrite or summarize their description. If something important is missing (subject, style, aspect ratio, text to render, length of the video), ask first, then append the answer to their original prompt.
- Pick the model from the table below, or let the user choose. Model details, fields and billing rules are in references/models.md.
| Need | Model id |
|---|---|
| Edit or combine photos | nano-banana-2.1 (default), nano-banana-pro |
| Text to image, posters, text rendering | gpt-image-2.5-sunburst (default), gpt-image-2.5-flare, gpt-image-2 |
| Text or image to video | wan3.0-text-to-video, wan3.0-image-to-video, seedance-2.5, seedance-2.0-fast |
| Video from reference images and clips | wan3.0-reference-video, wan3.0-prime-reference-video |
- Work out the parameters: resolution tier for images (
1k/2k/4kon Nano Banana,sizeratio on GPT Image), and for videosduration(seconds),resolution(480p/720p/1080p) andaspect_ratio.
Step 2: Check cost, then run
- Check the key: the script reads
APIKO_API_KEYfrom the environment. If it is not set, ask the user to create a key at https://apiko.app/ andexport APIKO_API_KEY=...themselves. Never ask them to paste the key into the chat, and never print it or write it into a file. - Check the price on the model page (https://apiko.app/models/
). Images are priced per image by tier; videos per second of output by resolution. For anything above a few cents (4K images, 1080p or long videos, Wan reference clips), tell the user the estimate and wait for a yes. - Tell the user how long to wait before starting: about 1 minute for a 1K/2K image, up to 5 minutes for 4K, and 2–15 minutes for a video depending on resolution and length.
- Run the script (path relative to this skill's folder):
# Text to image
python3 scripts/apiko_media.py image --model gpt-image-2.5-sunburst \
--prompt "<user prompt>" --size 16:9 -o poster.png
# Edit or combine photos (local files are uploaded automatically; https URLs are passed through)
python3 scripts/apiko_media.py image --model nano-banana-2.1 \
--prompt "<user prompt>" --image ./product.jpg --resolution 2k -o product-studio.png
# Video from a reference image and a reference clip
python3 scripts/apiko_media.py video --model wan3.0-reference-video \
--prompt "Image 1 walks along the beach in the style of Video 1" \
--ref-image ./character.png --ref-video https://example.com/style-3s.mp4 \
--duration 5 --resolution 720p --aspect-ratio adaptive -o beach.mp4
Progress goes to stderr. On success the script prints one JSON line with task_id, file and url.
If the script is not available, use plain HTTP: POST https://api.apiko.app/v1/images/generations, /v1/images/edits or /v1/videos with "async": true for images, then poll GET https://api.apiko.app/v1/tasks/{id} every 5–10 seconds until status is completed or failed, and download data[0].url. Send the header Authorization: Bearer $APIKO_API_KEY.
Step 3: Report the result
- Success: give the user the saved file path. Result links expire after 24 hours, so the saved file is what they keep.
- Still running when the script times out: do not submit again (that bills a second time). Resume with
python3 scripts/apiko_media.py status <task_id> -o <file>. - Task failed: failed tasks are refunded in full. Show the
fail_reason. Unreachable reference URLs and content refusals are the usual causes; fix the input before retrying. - Errors before submission:
HTTP 400: a field is invalid (prompt too long, unsupported size, too many seconds of reference video). Nothing was billed; fix the request.HTTP 401/ invalid key: the key is wrong or deleted. Ask the user to check it in the APIKO console.HTTP 503withmodel_not_found: the model id is wrong. Check https://apiko.app/models for the exact id.- Anything else: show the error message; it ends with a request id that APIKO support can look up.
Rules
- Keep the key in the environment. Do not echo it, log request headers, or commit it.
- Reference images must be public HTTPS URLs or local JPEG/PNG/WebP files up to 10 MB (the script uploads local files; uploads are free and kept for 72 hours). Reference videos must be public HTTPS URLs.
- Uploaded referen
Установить APIKO Media в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл APIKO Media?
Generate or edit images and generate videos through the APIKO API (Nano Banana, GPT Image, Seedream, Wan 3.0, Seedance). Use when the user asks to create an image, edit or combine photos, make a video from text, an image or reference clips, or call APIKO image/video models from code. Handles async submit, polling, local reference uploads, cost checks and saving the result.
Как установить скилл APIKO Media?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл APIKO Media запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic