Logo: Ultimate Ai Media Generator Skill

Ultimate Ai Media Generator Skill

Communautéit
ZeroLu
ultimate-ai-media-generator-skill

Generate and monitor CyberBara Public API v1 image, video, audio, and music tasks end-to-end. Use when work involves CyberBara `/api/v1` endpoints for listing models, uploading reference media, quoting credits, creating generation tasks, polling task status, checking credits balance and usage, or saving final media outputs.

Iwwersiicht

EditeurZeroLu
RepositoryUltimate-AI-Media-Generator-Skill
Skill-Nummultimate-ai-media-generator-skill
Stären
104
Forks
11
Matgeliwwert Dateien
23
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 23 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    ZeroLu huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Ultimate Ai Media Generator Skill an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/ZeroLu/Ultimate-AI-Media-Generator-Skill/tree/main
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ZeroLu/Ultimate-AI-Media-Generator-Skill.git \
  .claude/skills/ultimate-ai-media-generator-skill
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Ultimate Ai Media Generator Skill an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Ultimate Ai Media Generator Skill automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Ultimate Ai Media Generator Skill net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Ultimate-AI-Media-Generator-Skill

Overview

Use this skill to call CyberBara APIs reliably, create image, video, audio, and music generation tasks, and return final media URLs with credit-aware flow.

For Chinese article or repo-promo title images, default to model nano-banana-2-lite unless the user requests a different image model. Prefer generating a text-free cover background first, then add the final Chinese headline locally so the published title is exact and readable.

Implementation Architecture

The runtime uses a layered Python architecture:

  • scripts/cyberbara_api.py: thin entrypoint only
  • src/cyberbara_cli/cli.py: command parsing and command routing
  • src/cyberbara_cli/usecases/: flow orchestration (generation + polling)
  • src/cyberbara_cli/policies/: safety and policy rules (credits quote + formal confirmation)
  • src/cyberbara_cli/gateways/: raw CyberBara API client
  • src/cyberbara_cli/config.py: API key discovery and local persistence
  • src/cyberbara_cli/constants.py: fixed base URL and shared constants

When extending behavior, keep business rules in usecases/ or policies/, not in scripts/.

Set Up Runtime Inputs

The script uses fixed base URL:

text
https://cyberbara.com

API key lookup order:

  1. --api-key
  2. environment variable CYBERBARA_API_KEY
  3. local cache file ~/.config/cyberbara/api_key
  4. interactive prompt (if running in terminal)

Recommended one-time setup command:

bash
python3 scripts/cyberbara_api.py setup-api-key "<api-key>"

Or save from environment variable:

bash
export CYBERBARA_API_KEY="<api-key>"
python3 scripts/cyberbara_api.py setup-api-key --from-env

If API key is missing, the script immediately asks for it and shows where to get one:

text
https://cyberbara.com/settings/apikeys

When you provide API key via --api-key or interactive prompt, it is saved to:

text
~/.config/cyberbara/api_key

Future runs reuse this cached key, so users do not need to provide it every time.

Run The Standard Generation Flow

  1. Discover available models.
  2. Upload reference images or videos when task scene needs local media inputs.
  3. Quote credits before creating a generation task.
  4. Create image or video generation task and wait for final output.
  5. Automatically save generated media locally and open it.
  6. Check usage records when needed.

Reference commands:

bash
# 1) List video models
python3 scripts/cyberbara_api.py models --media-type video

# Also available: image, audio, and music models
python3 scripts/cyberbara_api.py models --media-type audio
python3 scripts/cyberbara_api.py models --media-type music

# 2) Upload local reference images
python3 scripts/cyberbara_api.py upload-images ./frame.png ./style.jpg

# Upload local reference videos
python3 scripts/cyberbara_api.py upload-videos ./clip.mp4

# 3) Estimate credits
python3 scripts/cyberbara_api.py quote --json '{
  "model":"sora-2",
  "media_type":"video",
  "scene":"text-to-video",
  "options":{"duration":"10"}
}'

# 4) Create a video task (default behavior: wait for success, save outputs to ./media_outputs, auto-open)
python3 scripts/cyberbara_api.py generate-video --json '{
  "model":"sora-2",
  "prompt":"A calm drone shot over snowy mountains at sunrise",
  "scene":"text-to-video",
  "options":{"duration":"10","resolution":"standard"}
}'

# 5) Existing task: wait + save/open outputs
python3 scripts/cyberbara_api.py wait --task-id <TASK_ID> --interval 5 --timeout 900

Image and video generation are confirmation-gated by default:

bash
# Single image request: script auto-quotes, then asks you to type CONFIRM
python3 scripts/cyberbara_api.py generate-image --json '{
  "model":"nano-banana-pro",
  "prompt":"A cinematic portrait under neon rain",
  "scene":"text-to-image",
  "options":{"resolution":"1k"}
}'

# Batch image requests (JSON array): script auto-quotes each request and prints total estimated credits
python3 scripts/cyberbara_api.py generate-image --file ./image-requests.json

image-requests.json format:

json
[
  {
    "model": "nano-banana-pro",
    "prompt": "A cinematic portrait under neon rain",
    "scene": "text-to-image",
    "options": { "resolution": "1k" }
  },
  {
    "model": "nano-banana-pro",
    "prompt": "A product still life with dramatic side light",
    "scene": "text-to-image",
    "options": { "resolution": "1k" }
  }
]

Only use --yes after explicit user approval has been obtained:

bash
python3 scripts/cyberbara_api.py generate-image --file ./image-requests.json --yes
python3 scripts/cyberbara_api.py generate-video --json '{
  "model":"sora-2",
  "prompt":"A calm drone shot over snowy mountains at sunrise",
  "scene":"text-to-video",
  "options":{"duration":"10","resolution":"standard"}
}' --yes

python3 scripts/cyberbara_api.py generate-audio --json '{
  "model":"suno-sound-v5-5",
  "prompt":"A short cinematic whoosh with soft digital sparkle",
  "scene":"text-to-audio",
  "options":{"loop":false}
}' --yes

python3 scripts/cyberbara_api.py generate-music --json '{
  "model":"suno-music-v5",
  "prompt":"Warm lo-fi study music with mellow keys",
  "scene":"text-to-music",
  "options":{"instrumental":true}
}' --yes

Control auto-save and open behavior:

bash
# keep waiting but do not auto-open media
python3 scripts/cyberbara_api.py generate-image --file ./image-requests.json --yes --no-open

# custom output directory
python3 scripts/cyberbara_api.py generate-video --json '{...}' --yes --output-dir ./downloads

# submit only (no wait/save/open)
python3 scripts/cyberbara_api.py generate-video --json '{...}' --yes --async

Use Script Capabilities

scripts/cyberbara_api.py supports:

  • setup-api-key to persist API key into local cache
  • models to list public models (--media-type image|video|audio|music optional)
  • upload-images to upload local image files to /api/v1/uploads/images
  • upload-videos to upload local video files to /api/v1/uploads/videos
  • quote to estimate credit cost from JSON request body
  • generate-image to auto-quote credits, compute total for batch requests, require formal confirmation, create task(s), wait, then save/open outputs
  • generate-video to auto-quote credits, compute total for batch requests, require formal confirmation, create task(s), wait, then save/open outputs
  • generate-audio to auto-quote credits, compute total for batch requests, require formal confirmation, create task(s), wait, then save/open outputs
  • generate-music to auto-quote credits, compute total for batch requests, require formal confirmation, create task(s), wait, then save/open outputs
  • task to fetch task snapshot by task ID
  • wait to poll task until success, failed, or canceled, then save/open outputs
  • balance and usage to inspect credits
  • raw for direct custom endpoint calls

Use --file request.json instead of --json for long payloads.

Enforce API Payload Rules

  • Send auth via API key (Authorization: Bearer <key> or x-api-key).
  • Send public request fields under options.* only.
  • Prefer explicit scene to avoid inference ambiguity.
  • Include options.image_input for image-to-image and image-to-video.
  • Include options.video_input for video-to-video.
  • Poll /api/v1/tasks/{taskId} until final status; only success guarantees output URLs.
  • Before every image, video, audio, or music generation submission, obtain quote first and get explicit user confirmation.
  • For multiple image/video/audio/music requests, calculate and present total estimated credits before submission.
  • Save output files under media_outputs/ by default and auto-open them unless disabled.

Navigate Detailed Model Options

Use the reference file for full model matrices and examples:

  • references/cyberbara-api-reference.mdx

For fast lookup in large reference:

bash
rg '^## |^### ' references/cyberbara-api-reference.mdx
rg 'kling-2.6|sora-2|veo-3.1|seedance' references/cyberbara-api-reference.mdx

Handle Common Failures

  • invalid_api_key or api_key_required: verify key and headers.
  • insufficient_credits: quote first or recharge credits.
  • invalid_scene or scene_not_supported: choose scene supported by model.
  • invalid_request: verify prompt and options requirements by model.
  • UPLOAD_INVALID: inspect and report the complete error.message and error.details; these provider upload-validation errors occur before a task ID is created.
  • task_not_found: verify task ID and environment domain.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Ultimate Ai Media Generator Skill?

Generate and monitor CyberBara Public API v1 image, video, audio, and music tasks end-to-end. Use when work involves CyberBara `/api/v1` endpoints for listing models, uploading reference media, quoting credits, creating generation tasks, polling task status, checking credits balance and usage, or saving final media outputs.

Firwat Ultimate Ai Media Generator Skill op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Ultimate Ai Media Generator Skill besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Ultimate Ai Media Generator Skill an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/ZeroLu/Ultimate-AI-Media-Generator-Skill/tree/main an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Ultimate Ai Media Generator Skill benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Ultimate Ai Media Generator Skill benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Ultimate Ai Media Generator Skill domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Ultimate Ai Media Generator Skill gratis?

Jo. ZeroLu huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇