calesthio/openmontage

atlas-cloud

Generate or edit images and videos through the Atlas Cloud gateway.

ソースを見る

使い方

  1. インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
  2. 必要なツール、認証情報、対応環境を原文で確認します。
  3. 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/calesthio/openmontage --skill atlas-cloud

開始前の確認

  • 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
  • スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
リポジトリの原文

見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。

Atlas Cloud

Route complete productions through image_selector or video_selector. Call atlas_image or atlas_video directly when the user names Atlas Cloud or an exact Atlas model. Never substitute a direct vendor endpoint for an Atlas request.

Set ATLASCLOUD_API_KEY. The aliases ATLAS_CLOUD_API_KEY and ATLAS_API_KEY are accepted for compatibility.

Preflight every paid call

  1. Read tool.get_info()["model_catalog"]; do not infer availability from a

search collection or invent a task suffix.

  1. Select an exact model id and operation supported by that catalog.
  2. Announce the Atlas tool, provider, exact model, request count, and estimated

cost before submitting.

  1. Use local-path inputs when convenient. The tool uploads them through Atlas.
  2. Save outputs inside the active projects/<project-id>/ tree and inspect them.

Video routes

FamilyOperationsExact route notes
Seedance 2.5text, image, referencebytedance/seedance-2.5/{text,image,reference}-to-video; image mode uses image plus optional last_image; reference mode accepts up to 30 images, 10 videos, and 10 audios (including audio-only); 4–30s; $0.134/s
Seedance 2.0text, image, referencebytedance/seedance-2.0/{text,image,reference}-to-video; 4–15s; $0.112/s
Gemini Omni Flashtext, image, reference, video editStandard routes use google/gemini-omni-flash/...; developer routes exist for text/image/reference only. Standard image mode uses one image; standard reference uses images; developer reference requires one video_clips object.
MiniMax H3text, image, referenceminimax/h3/{text,image,reference}-to-video; image mode supports optional end_image; reference mode requires refers objects; 4–15s; 768P/2K; $0.10/s

Use canonical OpenMontage fields:

python
tool.execute({
    "prompt": "...",
    "model": "minimax/h3/reference-to-video",
    "operation": "reference_to_video",
    "duration": 10,
    "resolution": "2K",
    "reference_images": ["projects/demo/character.png"],
    "reference_audios": ["projects/demo/performance.wav"],
    "output_path": "projects/demo/h3.mp4",
})

For Gemini developer reference video, pass video_clips objects with url, start, and ends. For H3, callers may pass normalized reference_images, reference_videos, and reference_audios; the tool converts them to refers.

Do not silently clamp duration, resolution, or ratio. Invalid values must fail before billing with the supported choices in the error.

Image routes

FamilyOperationsExact route notes
Seedream 5.0 Progenerate, edit, decomposebytedance/seedream-v5.0-pro/text-to-image, /edit, /layer-decomposition; edit accepts up to 10 images; sizes use WIDTH*HEIGHT
Seedream 5.0 Liteeditbytedance/seedream-v5.0-lite/edit; no live Lite text-to-image sibling is assumed; accepts up to 14 images
GPT Image 2generate, editopenai/gpt-image-2/text-to-image, /edit; sizes use WIDTHxHEIGHT; edit accepts up to 10 images
Nano Banana 2generate, editgoogle/nano-banana-2/text-to-image, /edit; uses aspect ratio plus 1k/2k/4k resolution; edit accepts up to 14 images

Set generation_mode to generate, edit, or decompose. Source images can be supplied as image_path, image_paths, image_url, or image_urls.

python
tool.execute({
    "prompt": "Replace the packaging with matte cobalt glass; preserve the logo",
    "model": "google/nano-banana-2/edit",
    "generation_mode": "edit",
    "image_paths": ["projects/campaign/source.png"],
    "resolution": "2k",
    "output_path": "projects/campaign/revised.png",
})

Result and failure contract

Both tools submit to Atlas, poll the returned prediction id, download every output, and return ToolResult provenance containing the provider, exact model, prediction id, submitted parameters, source URL, artifact paths, and estimated cost. A missing key, unsupported route, invalid enum, missing media input, failed prediction, timeout, or download failure must return a failed result without switching providers.

Confirm current pricing and schemas from the machine-readable model page (Accept: text/markdown) immediately before quoting or spending on a batch.

タスクに関連する項目

同じリポジトリから

関連する Skills

すべての Skills