atlas-cloud-media
它能做什么
这个工具可以帮你使用 Atlas Cloud API 创建图片和视频。它会查找可用的模型、检查参数,然后发送你的请求来生成内容。
适用场景
- ✓当你想用 Atlas Cloud 创建图片或视频时。
- ✓当现有流程需要通过 Atlas Cloud 生成媒体内容时。
- ✓当你需要查明某个模型应该使用哪些参数时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/atlas-cloud-media/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请用 'qwen-image-3.0/text-to-image' 模型生成一张猫的图片,提示词为 'A cute cat sleeping in a basket'。”
每周 5 个新技能,1 分钟读完。
工作原理
首先,这个工具会检查有哪些图片或视频模型可用,以及它们接受哪些参数。然后,它会用你选择的参数把请求发送到 Atlas Cloud,并等待结果返回。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Atlas Cloud Media
Overview
Use Atlas Cloud's asynchronous media API to generate images or videos. This source-only skill describes model discovery, schema validation, task submission, bounded polling, and safe output retrieval; it does not bundle an SDK, executable, or hosted runtime.
When to Use This Skill
- Use when the user explicitly asks to generate an image or video with Atlas Cloud.
- Use when an existing workflow needs an Atlas Cloud image or video generation request and can make HTTPS calls.
- Use when model-specific parameters must be discovered before submission.
- Do not use this skill for OpenAI-compatible text chat; that API has a different base URL and contract.
Preconditions
- Confirm the user is authorized to send the prompt and any reference media to a third-party service.
- Explain that generation is paid and obtain approval before submitting a billable request.
- Require
ATLASCLOUD_API_KEYto be present in the environment. Never ask the user to paste it into chat, source files, command history, or logs. - Confirm the output directory and whether the user wants image generation, video generation, or both.
API Contract
| Operation | Method and endpoint |
|---|---|
| List models | GET https://api.atlascloud.ai/api/v1/models |
| Generate image | POST https://api.atlascloud.ai/api/v1/model/generateImage |
| Generate video | POST https://api.atlascloud.ai/api/v1/model/generateVideo |
| Poll task | GET https://api.atlascloud.ai/api/v1/model/prediction/{id} |
Generation and polling requests use these headers:
Authorization: Bearer $ATLASCLOUD_API_KEY
Content-Type: application/json
The model catalog is public. Each catalog entry includes a schema URL; fetch
that schema and validate parameters against it before sending a paid request.
Do not guess parameters from another model, because names such as size,
ratio, aspect_ratio, image, and image_url are model-specific.
Workflow
0. Create a Private Per-Run Workspace
Run the remaining shell snippets in the same shell session. Create a private directory before writing prompts, responses, prediction IDs, or signed URLs; the parameter expansion in later steps fails closed when this setup was skipped.
umask 077
atlas_tmp_dir=$(mktemp -d "${TMPDIR:-/tmp}/atlas-cloud-media.XXXXXXXX") || exit 1
chmod 700 -- "$atlas_tmp_dir"
trap 'rm -rf -- "$atlas_tmp_dir"' EXIT
1. Discover and Validate a Model
Fetch the catalog, filter by type (Image or Video), and match the user's
requested capability. Read the selected entry's schema, verify that all
required fields are present, and show the model and billable action to the user
before submission.
Example discovery request:
curl --fail --silent --show-error \
"https://api.atlascloud.ai/api/v1/models" \
--output "${atlas_tmp_dir:?run private workspace setup first}/models.json"
jq -r '.data[] | select(.type == "Image") | [.model, .displayName, .schema] | @tsv' \
"$atlas_tmp_dir/models.json"
2. Submit One Generation Task
Build the JSON body in a file so that quoting is deterministic and request details can be reviewed without exposing the API key.
Image example using a catalog-confirmed model:
jq -n \
--arg model "qwen-image-3.0/text-to-image" \
--arg prompt "A paper-cut city map in blue and white, clean editorial style" \
'{model: $model, prompt: $prompt, size: "1024*1024", n: 1}' \
> "${atlas_tmp_dir:?run private workspace setup first}/request.json"
curl --fail --silent --show-error \
--request POST \
"https://api.atlascloud.ai/api/v1/model/generateImage" \
--header "Authorization: Bearer $ATLASCLOUD_API_KEY" \
--header "Content-Type: application/json" \
--data @"$atlas_tmp_dir/request.json" \
--output "$atlas_tmp_dir/submit.json"
Video example using a catalog-confirmed model:
jq -n \
--arg model "bytedance/seedance-2.0-fast/text-to-video" \
--arg prompt "A small paper boat crossing a calm pond, locked camera" \
'{
model: $model,
prompt: $prompt,
duration: 4,
resolution: "480p",
ratio: "16:9",
generate_audio: false,
watermark: false
}' > "${atlas_tmp_dir:?run private workspace setup first}/request.json"
curl --fail --silent --show-error \
--request POST \
"https://api.atlascloud.ai/api/v1/model/generateVideo" \
--header "Authorization: Bearer $ATLASCLOUD_API_KEY" \
…
常见问题
使用它需要付费吗?
需要。通过 Atlas Cloud 生成媒体内容是一项付费服务。在继续操作之前,需要先和你确认是否授权使用以及费用情况。
这个工具怎么知道该用哪个模型?
它会查询 Atlas Cloud 上可用的模型列表,并根据你要求的内容(图片或视频)以及你提供的参数,选出最合适的一个。
如果生成失败了怎么办?
这个工具会尝试查询你请求的状态。如果失败或超时,它会报告错误,并且不会自动重试。
详情
作者的原始描述
Generate Atlas Cloud images and videos through its asynchronous media API with schema-first model selection and credential-safe polling.
热度
- GitHub 星标
- 48k
- 排名
- #3831
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。