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.…
它会碰到什么
逐条看命中(3 条严重或高危)
- 严重
SKILL.md:4perm-wildcardallowed-tools: Bash(python3 *)
- 高
scripts/atlas_media.py:33cred-envreadself.api_key = api_key or os.environ.get("ATLASCLOUD_API_KEY") - 高
scripts/atlas_media.py:35cred-envreadbase_url or os.environ.get("ATLASCLOUD_BASE_URL") or DEFAULT_BASE_URL
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
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.
~~~bash
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
~~~bash
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
~~~bash
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
~~~json
{
"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
~~~bash
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:
~~~bash
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.
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
plugins/all-skills/skills/atlas-cloud-media/SKILL.md