跳至內容

Cosmos 3 Super Image to Video

整合

模型 id nvidia/cosmos-3-super/image-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/nvidia/cosmos-3-super/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

像範例一樣的檔案: $0.40 400 API 點數 · ≈ ₽42.93 您的檔案會在執行前計量 在此頁面執行

取得 API 金鑰
NVIDIA 圖像轉影片 唇形同步 #stylized#transform#lipsync

將首幀影像製作成動畫影片,支援選用的提示擴展和代理式精煉迴圈

NVIDIA · 影片

您的第一個結果會顯示在這裡

在下方建立請求,並使用您的 API 金鑰執行。輸出會複製到我們的儲存空間,可永久保留或免費保留 7 天。

建立請求

控制項是根據模型結構描述生成的。變更設定時,程式碼和價格會同步更新。

•必填 88 / 4096

影片生成的文字指示:指定場景包含的內容及其應呈現的動態。

•必填 image_url
拖放檔案,或

用於控制影片第一個影格的圖像 URL。

image_size 預設 {"height":480,"width"...

自動調整前要求的影片尺寸。為取得支援的尺寸,系統會限制請求並選擇最接近的 NVIDIA 等級(256p、480p 或 720p)及支援的長寬比。

預設 2

啟用 agentic 生成時的提示詞階段上限。

預設 2

agentic 迴圈每次迭代的影片候選數,決定在最佳結果進入提示詞重寫前,參與評估的影片數量。

預設 189

生成的影格數;增加此值會產生更長的影片。

預設 24

輸出影片影格率,單位為每秒影格數。

進階 negative_prompt · num_inference_steps · guidance_scale · seed · enable_prompt_expansion · agentic_early_stop · enable_safety_checker
0 / 2048

用於抑制不想要的動態或瑕疵等內容的負面提示詞。省略時會使用 NVIDIA 為 i2v 建議的負面提示詞;空字串則會停用負面引導。

預設 28

去噪步驟數量;數量越多,處理時間越長但品質越好。

預設 6

無分類器引導的強度。

控制可重複性的 Seed:在模型版本不變時,相同的提示詞和 Seed 會產生相同的影片。

POST /run/nvidia/cosmos-3-super/image-to-video?wait=20 報價 → $0.40
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/nvidia/cosmos-3-super/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

執行此請求

您的金鑰會保留在此瀏覽器中:只會傳送至 Doitong API,且只有在勾選「記住」時才會儲存至 localStorage。 取得 API 金鑰

關於 Cosmos 3 Super Image to Video

使用 `image_url` 作為開場影格,並接受最多 4096 個字元的 `prompt`。`num_frames` 最高為 189,`frames_per_second` 範圍為 4 到 60。提示擴展預設為開啟,`enable_agentic_generation` 會執行帶有評論的反覆候選生成。也提供 `negative_prompt`、`guidance_scale` 和最高 50 的 `num_inference_steps`。

參數

請傳送標準名稱或原生名稱其中之一,不要同時傳送兩者。 標準名稱

名稱類型 預設值允許值 說明
prompt必填
類型string
≤ 4,096 個字元
影片生成的文字指示:指定場景包含的內容及其應呈現的動態。
image_url必填 image
類型url · image
用於控制影片第一個影格的圖像 URL。
negative_prompt選填
類型string
預設值The video captures a series of frames showing macroblocking artifacts, chromatic aberration, high-frequency noise, and rolling shutter distortion. It includes static with no motion, motion blur, over-saturation, shaky footage, low resolution, grainy texture, pixelated images, poorly lit areas, underexposed and overexposed scenes, poor color balance, washed out colors, choppy sequences, jerky movements, low frame rate, bit-depth compression artifacts, color banding, unnatural transitions, outdated special effects, fake elements, unconvincing visuals, poorly edited content, jump cuts, hard cut, visual noise, and flickering. It features moiré patterns, edge halos, and temporal aliasing. Furthermore, the content defies common sense, generating illogical scenarios, nonsensical entities, absurd character behaviors, and conceptual paradoxes that violate basic human reasoning and everyday reality. The video looks like a surreal or glitchy hallucination. Overall, the video is of poor quality.
≤ 2,048 個字元
用於抑制不想要的動態或瑕疵等內容的負面提示詞。省略時會使用 NVIDIA 為 i2v 建議的負面提示詞;空字串則會停用負面引導。
enable_prompt_expansion選填
類型boolean
預設值true
提示詞擴展;設為 true 時,使用 Cosmos3-Nano Reasoner 產生用於訓練 Cosmos3 的密集描述格式;此 VLM 會檢查第一個影格。COSMOS_PROMPT_UPSAMPLER_BASE_URL 會選取已設定的 Reasoner 服務;否則應用程式會在本機啟動服務。擴展失敗時會繼續使用未修改的提示詞。
enable_agentic_generation選填
類型boolean
預設值false
反覆進行的 Cosmos agentic 生成。由於每個候選結果都需要完整渲染,速度明顯較慢且成本較高。迴圈會擴展提示詞、生成影片候選結果、使用 VLM 評論取樣影格,並重寫提示詞。
agentic_max_iterations選填
類型integer
預設值2
1 – 3
啟用 agentic 生成時的提示詞階段上限。
agentic_samples_per_iteration選填
類型integer
預設值2
1 – 3
agentic 迴圈每次迭代的影片候選數,決定在最佳結果進入提示詞重寫前,參與評估的影片數量。
agentic_early_stop選填
類型boolean
預設值true
提早停止控制;當評論者分數高於嚴格品質門檻時,視為足以結束 agentic 迴圈。
image_size選填
類型object
預設值{"height":480,"width":832}
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
自動調整前要求的影片尺寸。為取得支援的尺寸,系統會限制請求並選擇最接近的 NVIDIA 等級(256p、480p 或 720p)及支援的長寬比。
num_frames選填
類型integer
預設值189
5 – 189
生成的影格數;增加此值會產生更長的影片。
frames_per_second選填
類型integer
預設值24
4 – 60
輸出影片影格率,單位為每秒影格數。
num_inference_steps選填
類型integer
預設值28
1 – 50
去噪步驟數量;數量越多,處理時間越長但品質越好。
guidance_scale選填
類型number
預設值6
0 – 20
無分類器引導的強度。
seed選填
類型integer | null
控制可重複性的 Seed:在模型版本不變時,相同的提示詞和 Seed 會產生相同的影片。
enable_safety_checker選填
類型boolean
預設值true
對提供的圖像和提示詞進行內容審核;僅獲授權的帳戶可以停用。未獲授權的請求無論設定為何都會接受檢查。
必填 標準名稱,也可使用

檔案參數接受公開的 https:// URL、最大 10 MB 的 data: URI,或上傳檔案的 file_url。 檔案

輸出

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "nvidia/cosmos-3-super/image-to-video",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 400,
    "usd": "0.40",
    "charged": 400,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "seed": 42
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
您的檔案,由您選擇每個 outputs[].url 都是儲存空間中的副本:可永久保留(按 GB-月計費),或免費保留 7 天;可透過帳戶設定或 ?storage= 設定。
所有模型使用相同結構圖片、影片和音訊皆包含 type、url、content_type、width、height 和 duration。output 是模型自己的結果物件。
輸出欄位
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}模型產生的影片。
seed
integer生成期間套用的種子值。

更多模型:圖像轉影片

給 AI 代理程式:此頁面的 Markdown 位於 https://doitong.com/zh-TW/developers/models/nvidia/cosmos-3-super/image-to-video.md. 所有模型與指南: https://doitong.com/developers/llms.txt