Graphrt

fal.ai

Jalankan model fal apa pun lewat antrean (menunggu hasil, menyimpan media), cek, ambil atau batalkan request, cari model dan harganya (dibayar per run)

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

Tentang

Plugin Graphrt untuk fal.ai. Jalankan model fal apa pun (FLUX, Recraft, Kling, Veo, Whisper dan lainnya) lewat Queue API, tunggu hasilnya lalu simpan file medianya, cek, ambil atau batalkan request di antrean, dan cari model beserta harganya lewat Platform API. Dibuat dengan lapisan REST deklaratif.

Yang bisa dilakukan

  • run_model: submit to queue.fal.run/<model_id> (sub-paths such as fal-ai/flux-pro/v1.1-ultra work), poll status_url until COMPLETED, fetch response_url, and download the media URLs. wait: false returns the request_id and URLs at once.
  • get_request_status, get_request_result, cancel_request: follow up on a request by owner, app and request_id (the model id without its sub-path: fal-ai + flux for fal-ai/flux/dev).
  • search_models: free-text, category or endpoint-id lookup, optionally with each model's OpenAPI input schema.
  • get_pricing, estimate_cost: unit prices and cost estimates for your account (free).

Aksi

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

  • Run model fal-ai.run_model
  • Get request status fal-ai.get_request_status
  • Get request result fal-ai.get_request_result
  • Cancel request fal-ai.cancel_request
  • Search models fal-ai.search_models
  • Get pricing fal-ai.get_pricing
  • Estimate cost fal-ai.estimate_cost

Pengaturan

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

  • FAL_KEY Wajib
    API key from <https://fal.ai/dashboard/keys> with the API preset (sent as Authorization: Key <key>)
  • FAL_AI_OUTPUT_DIR For files
    Absolute directory where result media are saved. Unset: nothing is downloaded and the result keeps fal's URLs, which expire
  • FAL_AI_EXTRA_DOWNLOAD_HOSTS Opsional
    Comma-separated extra hosts media may be downloaded from (exact host names), for models that return files outside fal's CDN

Cara memakainya

Di Graphrt Desktop

  1. Buka Plugins dan cari fal.ai.
  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 fal-ai
workflow.yaml
- id: image
  type: fal-ai.run_model
  model_id: fal-ai/flux/schnell
  input: { prompt: "a watercolor fox in the snow", image_size: landscape_4_3, num_images: 1 }
- id: answer
  type: answer
  answer: "Saved {{#image.data.saved_files.0.path#}}"
Plugin di docs