← 返回
未分类 中文

flux-2

Generate and edit images with Flux 2 through RunAPI. Use when the user asks an agent to create, edit, or transform images with Flux 2. Default to the RunAPI...
通过 RunAPI 使用 Flux 2 生成和编辑图像。适用于用户要求代理创建、编辑或转换 Flux 2 图像的场景。默认使用 RunAPI...
runapi-ai
未分类 clawhub v0.2.4 1 版本 100000 Key: 无需
★ 0
Stars
📥 210
下载
💾 0
安装
1
版本
#latest

概述

Flux 2 on RunAPI

Generate and edit images with Flux 2 through RunAPI. The default path for one-off agent tasks is the runapi CLI; SDKs are for application integration.

Routing decision

  • One-off generation, editing, or transformation for the user → use the CLI path with the runapi binary.
  • Building an app, backend, worker, library, or production codebase → use the SDK integration path.

CLI path

The runapi binary is the runtime dependency. Authenticate with runapi login (browser) or set RUNAPI_API_KEY; a saved CLI config also works — no required environment variable.

Inspect the available actions and request fields with CLI help:

runapi flux-2 --help
runapi flux-2 text-to-image --help

Run a one-off task (synchronous — polls until the task completes):

runapi flux-2 text-to-image --input-file request.json

Submit asynchronously and poll separately:

runapi flux-2 text-to-image --async --input-file request.json
runapi wait <task-id> --service flux-2 --action text-to-image

Available actions: text-to-image.

SDK integration path

When integrating Flux 2 into an app, backend, worker, or library — not for one-off tasks — use a RunAPI SDK package:

  • JavaScript / TypeScript: @runapi.ai/flux-2
  • Ruby: runapi-flux_2
  • Go: github.com/runapi-ai/flux-2-sdk/go

References

  • Model overview, pricing, and rate limits: https://runapi.ai/models/flux-2.md
  • Provider comparison: https://runapi.ai/providers/black-forest-labs.md
  • Full model catalog: https://runapi.ai/models.md

Variants

版本历史

共 1 个版本

  • v0.2.4 当前
    2026-05-23 16:51 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

gemini

runapi-ai
通过 RunAPI 调用 Gemini API (gemini-2.5-flash, gemini-2.5-pro, gemini-3-flash-preview, gemini-3-pro-preview, gemini-3.1-pro-
★ 0 📥 342
design-media

UI/UX Pro Max

xobi667
提供 UI/UX 设计智能与实现指导,帮助打造精美界面。适用于 UI 设计、UX 流程、信息架构、视觉风格、设计系统/标记、组件规格、文案/微文案、无障碍及前端 UI(HTML/CSS/JS、React、Next.js、Vue、Svelte
★ 217 📥 47,437
design-media

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 429 📥 116,839