Chuyển đến nội dung
Skillpedia
Trình kết nối (MCP)48k · #3831

atlas-cloud-media

Skill này làm gì

Công cụ này cho phép bạn tạo hình ảnh và video bằng Atlas Cloud API. Nó tìm các mô hình có sẵn, kiểm tra tham số và gửi yêu cầu của bạn để tạo nội dung.

Khi nào nên dùng

  • ✓Khi bạn muốn tạo một hình ảnh hoặc video bằng Atlas Cloud.
  • ✓Khi một quy trình hiện có cần tạo nội dung đa phương tiện bằng Atlas Cloud.
  • ✓Khi bạn cần biết nên dùng tham số nào cho một mô hình cụ thể.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/atlas-cloud-media/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/atlas-cloud-media/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo hình ảnh một con mèo bằng mô hình 'qwen-image-3.0/text-to-image' với mô tả 'Một chú mèo đáng yêu đang ngủ trong giỏ'.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Đầu tiên, công cụ kiểm tra các mô hình hình ảnh hoặc video nào đang có và chúng chấp nhận tham số nào. Sau đó, nó gửi yêu cầu của bạn cùng các tham số đã chọn tới Atlas Cloud và chờ kết quả.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

  1. Confirm the user is authorized to send the prompt and any reference media to a third-party service.
  2. Explain that generation is paid and obtain approval before submitting a billable request.
  3. Require ATLASCLOUD_API_KEY to be present in the environment. Never ask the user to paste it into chat, source files, command history, or logs.
  4. 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" \

…
Câu hỏi thường gặp

Tôi có phải trả tiền để dùng không?

Có, tạo nội dung đa phương tiện với Atlas Cloud là dịch vụ có phí. Cần xác nhận với người dùng xem họ có đồng ý sử dụng và chi phí trước khi tiếp tục.

Công cụ biết dùng mô hình nào?

Nó truy vấn danh sách mô hình có sẵn trên Atlas Cloud và chọn mô hình phù hợp nhất với yêu cầu của bạn (hình ảnh hay video) và các tham số bạn đưa ra.

Điều gì xảy ra nếu việc tạo nội dung thất bại?

Công cụ sẽ thử kiểm tra trạng thái yêu cầu của bạn. Nếu thất bại hoặc hết thời gian chờ, nó sẽ báo lỗi và không tự động thử lại.

Chi tiết

Mô tả gốc của tác giả

Generate Atlas Cloud images and videos through its asynchronous media API with schema-first model selection and credential-safe polling.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#3831
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự