跳到正文
FunCoding

atlas-cloud-media

Discover Atlas Cloud image and video models, inspect their live schemas, and submit one confirmed media generation request with bounded GET polling. Use when integrating Atlas Cloud media APIs or generating images and videos without hard-coding stale model parameters.

Star
3,816
许可证
MIT
最近提交
2026年12月1日

plugins/all-skills/skills/atlas-cloud-media/SKILL.md

在 GitHub 上查看

Atlas Cloud Media

Use the bundled scripts/atlas_media.py CLI to discover current Atlas Cloud models, inspect a model's live request schema, and run asynchronous image or video generation.

When to Use This Skill

  • The user wants to find an available Atlas Cloud image or video model.
  • An integration needs the current model ID, input fields, endpoint, or price.
  • The user wants one explicitly confirmed media generation request.
  • An asynchronous Atlas Cloud task needs bounded status polling.

Setup

Set the API key in the environment. Never pass it as a CLI argument or commit it to a repository.

export ATLASCLOUD_API_KEY="your-api-key"

ATLASCLOUD_BASE_URL may point to a compatible deployment. It defaults to https://api.atlascloud.ai.

Workflow

1. Discover current models

python3 scripts/atlas_media.py models --type Image --query flux
python3 scripts/atlas_media.py models --type Video --query seedance

Treat model availability and prices as live data. Run discovery immediately before choosing a model.

2. Inspect the exact schema

python3 scripts/atlas_media.py describe black-forest-labs/flux-schnell

The command resolves the model's current schema URL and reports the required fields, property definitions, submission endpoint, result endpoint, and catalog price data. Build the payload from this output instead of copying an old example.

3. Prepare parameters in a file

{
  "prompt": "A clean product photograph on a neutral background",
  "size": "1024*1024",
  "num_images": 1
}

Do not include model; the CLI inserts the selected model ID after validation.

4. Confirm cost and generate once

python3 scripts/atlas_media.py generate \
  black-forest-labs/flux-schnell \
  --params-file request.json \
  --confirm-paid

The --confirm-paid flag is mandatory. The CLI sends exactly one generation POST and does not retry it. It polls only the schema-defined GET result endpoint, with a fixed interval and maximum poll count.

Use stdin when a temporary file is unnecessary:

printf '%s' '{"prompt":"A geometric app icon"}' | \
  python3 scripts/atlas_media.py generate \
    black-forest-labs/flux-schnell \
    --params-file - \
    --confirm-paid

Safety Rules

  • Keep ATLASCLOUD_API_KEY server-side and out of logs, prompts, screenshots, browser code, mobile apps, and committed files.
  • Never retry a generation POST automatically. If submission fails, report the error and require a new explicit confirmation before another paid request.
  • Poll only with GET and stop at --max-polls.
  • Validate the live schema again when changing models.
  • Download returned media URLs before they expire when persistent storage is required.
  • Require human review for sensitive, regulated, or high-impact content.

Output

Commands write structured JSON to stdout. Successful generation output includes the prediction ID, final status, generated URLs, model ID, and the endpoints resolved from the live schema.

相似的 Skill

blender-motion-state-inspection

AFaffaan-m/ECC315k近 7 天新增 4,381 个 star

精选

algorithmic-art

用 p5.js 生成流场和粒子系统,通过种子随机性创作原创算法艺术。

ANanthropics/skills203k近 7 天新增 3,265 个 star

官方

slack-gif-creator

ANanthropics/skills203k近 7 天新增 3,265 个 star

moneyprinterturbo-video

HAharry0703/MoneyPrinterTurbo147k近 7 天新增 1,608 个 star

thinking-out-loud

SHShubhamsaboo/awesome-llm-apps147k近 7 天新增 907 个 star

design-motion

GAgarrytan/gstack143k近 7 天新增 598 个 star