Graphrt

Replicate Video

Prediction Replicate untuk model video (Veo, Kling, Hailuo, Wan dan lainnya), jalankan dan tunggu dengan batas waktu panjang dan unduhan, status prediction, pencarian model (dibayar per model, batal dan webhook hanya lewat node)

Beta v0.1.0 Node.js 13 aksi
Pakai di Graphrt Desktop

Tentang

Plugin Graphrt untuk menjalankan model video di Replicate (Veo, Kling, Hailuo, Wan, Seedance, LTX dan banyak lagi). Plugin ini membuat prediction, menunggu hasilnya dengan batas waktu untuk job panjang, lalu menyimpan file output ke disk. Plugin ini juga bisa membaca status prediction (untuk polling di beberapa run workflow) serta mencari model dan skema input-nya.

Yang bisa dilakukan

  • run_model: run an official or latest-version model by owner/name (e.g. google/veo-3, kwaivgi/kling-v2.1, minimax/hailuo-02) with its input object
  • run_version: run a pinned model version
  • run_model_with_webhook, run_version_with_webhook (node only): the same, plus a webhook URL that Replicate POSTs the prediction to on every update
  • get_prediction: status, logs, metrics and output, saves the output of a succeeded prediction
  • cancel_prediction (node only)
  • list_predictions: your predictions, newest first (paginated)
  • get_model, list_model_versions: description, default example and the input/output schema (latest_version.openapi_schema)
  • get_collection, search_models: discover models, e.g. the text-to-video and image-to-video collections

Aksi

Setiap aksi adalah langkah yang bisa ditambahkan ke workflow. Agent juga bisa memakai sebagian besar aksi sebagai tool.

  • Run model replicate-video.run_model
  • Run model version replicate-video.run_version
  • Run model (webhook) replicate-video.run_model_with_webhook
  • Run model version (webhook) replicate-video.run_version_with_webhook
  • Get prediction replicate-video.get_prediction
  • Cancel prediction replicate-video.cancel_prediction
  • List predictions replicate-video.list_predictions
  • Get model replicate-video.get_model
  • List model versions replicate-video.list_model_versions
  • Get collection replicate-video.get_collection
Tampilkan semua 13 aksi
  • Search models replicate-video.search_models
  • Account replicate-video.get_account
  • Replicate HTTP API request replicate-video.api_request

Pengaturan

Graphrt menyalakan plugin dengan environment yang bersih. Hanya nilai ini yang sampai ke plugin, dan secret tidak masuk log.

  • REPLICATE_API_TOKEN Wajib
    API token (starts with r8_)
  • REPLICATE_OUTPUT_DIR Opsional
    Absolute directory for output files. Unset: nothing is saved and saved_files is [], the output URLs are still returned

Cara memakainya

Di Graphrt Desktop

  1. Buka Plugins dan cari Replicate Video.
  2. Klik Install lalu setujui.
  3. Ikuti langkah setup di halaman plugin, lalu tempel pengaturan yang dibutuhkan.
  4. Jelaskan pekerjaan yang membutuhkannya, dan builder menambahkan langkahnya.
Plugin di Graphrt Desktop

Dengan CLI

terminal
$ graphrt plugin install replicate-video
workflow.yaml
- id: clip
  type: replicate-video.run_model
  model_owner: minimax
  model_name: hailuo-02
  input:
    prompt: "A paper boat drifting across a calm pond at dawn"
    duration: 6
Plugin di docs