RepositoryPython
y408wcjci

y408wcjci/flux-3-api-cn

FLUX 3 Video API (`flux-3-video`): model id, pricing, parameters and copy-paste examples for the OpenAI-compatible APIMart endpoint.

65sao
0fork
0issue
1lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: flux-3

#1 Repository của ngày

1
TINIX TRENDING·Chủ đề: flux-3-api

#1 Repository của ngày

FLUX 3 Video API (flux-3-video)

observed unit price billing model OpenAI-compatible endpoint

Sample video frame generated through APIMart

from $0.048 per second on the APIMart route — 一个 OpenAI 兼容端点 https://api.apimart.ai/v1,无需包月套餐。(数据观测于 2026-10-12)

获取 API Key · 实时价格 · 模型页面 · ⚡ 60 秒快速上手

为什么团队通过 APIMart 调用 FLUX 3 Video(flux-3-video)

  • **一个 Key,整个目录。**同一个 https://api.apimart.ai/v1 base URL 和 Authorization 请求头即可访问 FLUX 3 Video(flux-3-video)以及图像、视频、语言等 300+ 模型——只需切换 model 字段,客户端无需改动。
  • **$1 起充,按量付费。**没有订阅、也没有需要预先估算用量的预付费套餐:最低充值 $1,调用多少扣多少。
  • **费用随响应一并返回。**每个完成的任务都会报告实际计费金额(cost / credits_cost);状态为 failed 的任务会自动退款。
  • **原生异步设计。**提交任务、拿到 task_id、轮询 GET /v1/tasks/{id}——批处理和重试都是普通的队列工作,不需要定制集成。

FLUX 3 Video by Black Forest Labs supports text-to-video, image-to-video with 1–10 ordered keyframes, video continuation, and draft enhancement. Generate synchronized audio with 5–20 second HD or FHD output, configurable safety tolerance, and results stored on the APIMart CDN.

Model id and routes

Routemodel valueBillingNotes
Text-to-video / image-to-videoflux-3-videoper generated second, by resolutionsee the model page for the exact tiers

Endpoint: POST https://api.apimart.ai/v1/videos/generations, then poll GET /v1/tasks/{task_id}.

Pricing

ResolutionList priceEffective price
default0.170.136

Prices are a snapshot; the pricing page and data/model.json are refreshed by CI, and a completed task reports the exact amount in its cost field.

Request parameters

FieldTypeDefaultNotes
modelstringrequiredthe model id shown in the route table above
promptstringrequiredthe shot description; camera and subject motion belong here
durationintegerroute defaultclip length in seconds — billing is per generated second
resolutionstringroute default480P / 720P / 1080P or the route’s own tiers
size / aspect_ratiostring16:9output framing
image_urlsstring[]—first frame, first + last frame, or style references, where supported
seedinteger—fix the seed to reproduce a take

The table lists the fields accepted by the APIMart videos/generations endpoint. Check the model page for anything this model adds on top.

Quickstart

curl --request POST --url https://api.apimart.ai/v1/videos/generations \
  --header "Authorization: Bearer $APIMART_API_KEY" --header 'Content-Type: application/json' \
  -d '{"model":"flux-3-video","prompt":"A bamboo forest at sunrise, slow push-in","duration":5,"resolution":"720P","size":"16:9"}'
import os, time, requests

BASE = "https://api.apimart.ai/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['APIMART_API_KEY']}", "Content-Type": "application/json"}

created = requests.post(f"{BASE}/videos/generations", headers=HEADERS, timeout=60, json={
    "model": "flux-3-video", "prompt": "A bamboo forest at sunrise, slow push-in", "duration": 5,
}).json()
task_id = created["data"]["id"]

while True:
    task = requests.get(f"{BASE}/tasks/{task_id}", headers=HEADERS, timeout=60).json()["data"]
    if task["status"] in ("completed", "failed"):
        break
    time.sleep(5)
print(task.get("cost"), task["result"]["videos"][0]["url"])

Runnable versions: examples/. The task lifecycle is pending → processing → completed | failed.

FAQ

FLUX 3 Video 的模型 id 是什么?

flux-3-video。见上方路由表。

如何计费?

from $0.048 per second on the APIMart route。完成的任务会在 cost 字段中给出准确金额;失败的任务会自动退款。

How do I get a key?

Use the Get an API key link — $1 minimum top-up, no plan required.

This repository is one build in a cross-linked set of API guides for the same model family; each language build links back to the others.

PurposeAttributed linkTarget
Model pagehttps://go.apimart.ai/k-0fc9deapimart.ai/zh/model/flux-3-video
Live pricinghttps://go.apimart.ai/k-f7cc27apimart.ai/zh/pricing
Get an API keyhttps://go.apimart.ai/k-3b36b6apimart.ai/zh/keys

Outbound APIMart links are minted through the promo link API; hand-made tracking parameters are rejected by tools/check_links.py in CI.

Disclosure

FLUX 3 Video is a third-party model served through APIMart; this repository documents how to call it and publishes model ids and prices, and does not claim official status. Model names, prices and documentation belong to their respective owners.

License

MIT — see LICENSE.

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
apimart-API-Gateway/grok-image-api

Grok Image API (Grok Imagine 1.5, grok-imagine-1.5-apimart): model ids, per-image pricing, text-to-image and edit routes, moderation behaviour and runnable API examples.

145
Nov 22, 2026
RepositoryPython
apimart-awesome-ai-api-proxy/nano-banana-pro-api

Nano Banana Pro API (gemini-3-pro-image-preview): model id, per-image pricing, aspect ratios, resolution tiers, curl, Python and JavaScript examples with async task polling.

139
Nov 27, 2026
Modeltext-to-image
Qwen/Qwen-Image-2.1

🤖 ModelScope  |   🤗 HuggingFace  |   📑 Blog  |   🖥️ Demo  |   🫨 Discord  |   💬 WeChat Introduction We are excited to open-source Qwen-Image-2.1...

♥0
288.5k
Sep 30, 2026
Modeltext-to-image
black-forest-labs/FLUX.1-dev

!FLUX.1 dev Grid(./devgrid.jpg) FLUX.1 dev is a 12 billion parameter rectified flow transformer capable of generating images from text descriptions. For more information, please read our blog post(https://blackforestlabs.ai/announcing-black-forest-la...

♥0
368.2k
Nov 19, 2026
RepositoryPython
apimart001a/unified-ai-api-model-catalog

Unified AI API model catalog: machine-readable JSON for 300+ models behind one OpenAI-compatible API, with modality, billing unit, per-image, per-second and per-token pricing and doc links.

141
Nov 27, 2026
RepositoryPython
apimart-API-Gateway/grok-imagine-api

Grok Imagine API guide: image generation and editing on the grok-imagine routes, per-image pricing, prompt recipes with example renders and async task polling examples.

134
Sep 20, 2026
RepositoryPython
apimartjx02t2cb/gemini-3.1-flash-image-preview-official-api-ja

Nano Banana 2 (official) API (`gemini-3.1-flash-image-preview-official`): model id, pricing, parameters and copy-paste examples for the OpenAI-compatible APIMart endpoint.

90
Nov 24, 2026
Modeltext-to-image
black-forest-labs/FLUX.1-schnell

!FLUX.1 schnell Grid(./schnellgrid.jpeg) FLUX.1 schnell is a 12 billion parameter rectified flow transformer capable of generating images from text descriptions. For more information, please read our blog post(https://blackforestlabs.ai/announcing-bl...

♥0
295.6k
Aug 16, 2024
Modeltext-to-image
abenzerps/Qwen-Image-2.1-Turbo-Quantized

Qwen-Image-2.1 Turbo Quantized GGUF, Safetensors, and MLX quantized formats of Qwen/Qwen-Image-2.1-Turbo(https://huggingface.co/Qwen/Qwen-Image-2.1-Turbo) for local image generation using the official turbo base weights. Benchmark !Qwen-Image-2.1 be...

♥0
361.0k
Nov 15, 2026