Fluos API reference
Public Fluos HTTP API — discovery files, documentation, search, and paid video operations — described by /openapi.json.
The canonical machine-readable Fluos API description is https://www.fluos.io/openapi.json. Every operation has a unique operationId, a description, typed parameters, and response schemas so agents can register function-calling tools from the spec.
Base URL
https://www.fluos.io
Canonical public API prefix: /api/v1/. Send API-Version: 1. See Fluos API versioning and deprecation.
Discovery
| operationId | Method | Path | Purpose |
|---|---|---|---|
getFluosOpenApiSpec | GET | /openapi.json | This specification |
getFluosOpenApiSpecV1 | GET | /api/v1/openapi.json | Versioned alias of this specification |
getFluosMcpServerCard | GET | /api/v1/mcp | Fluos MCP server card |
callFluosMcp | POST | /api/v1/mcp | Fluos MCP JSON-RPC |
getFluosLlmsTxt | GET | /llms.txt | Curated URL index |
getFluosLlmsFullTxt | GET | /llms-full.txt | Full-text docs dump |
getFluosAiTxt | GET | /ai.txt | AI crawler policy |
getFluosSitemap | GET | /sitemap.xml | All public URLs |
getFluosRobotsTxt | GET | /robots.txt | Crawler rules |
getFluosRssFeed | GET | /feed.xml | Blog RSS |
These endpoints are public and cacheable. No authentication.
Content (Accept negotiation)
| operationId | Method | Path |
|---|---|---|
getFluosHome | GET | / |
getFluosCli | GET | /cli |
getFluosMcp | GET | /mcp |
getFluosDocsIndex | GET | /docs |
getFluosDocPage | GET | /docs/{slug} |
getFluosAbout | GET | /about |
getFluosPricing | GET | /pricing |
getFluosBlogPost | GET | /blog/{slug} |
Send Accept: text/markdown for Markdown. Missing Accept returns HTML. Incompatible Accept values return 406.
Search
| operationId | Method | Path | Parameters |
|---|---|---|---|
searchFluosDocs | GET | /api/search | query (or alias q) |
searchFluosDocsV1 | GET | /api/v1/search | query (or alias q) |
Public. Returns ranked hits over this documentation set. Prefer /api/v1/search. Responses include IETF RateLimit headers; 429 includes Retry-After.
Video
Paid plans only. Authenticate with OAuth or an API token; Free plans receive 402 PLAN_REQUIRED. The same jobs are available as Video MCP tools.
| operationId | Method | Path | Purpose |
|---|---|---|---|
listFluosWorkspaces | GET | /api/v1/workspaces | Workspaces you can access |
listFluosProjects | GET | /api/v1/projects | Projects in a workspace |
createFluosProject | POST | /api/v1/projects | Create a project |
listFluosTemplates | GET | /api/v1/templates | Templates saved in a workspace (workspaceId query) |
listFluosAssets | GET | /api/v1/assets | Library assets |
startFluosAssetUpload | POST | /api/v1/assets/uploads | Start a library upload |
completeFluosAssetUpload | POST | /api/v1/assets | Complete a library upload |
createFluosVideo | POST | /api/v1/videos | Start a video job |
getFluosVideoJob | GET | /api/v1/videos/{jobId} | Poll a job |
reviseFluosVideo | POST | /api/v1/videos/{jobId}/revise | Start a follow-up job from a ready one |
cancelFluosVideo | POST | /api/v1/videos/{jobId}/cancel | Cancel a queued, running, or paused job |
exportFluosVideo | POST | /api/v1/exports | Export a ready job |
getFluosVideoExport | GET | /api/v1/exports/{exportId} | Poll an export |
Creating a video
createFluosVideo requires projectId and brief. Optional fields:
| Field | Purpose |
|---|---|
recipe | generate | edit | compose | mix. See Recipes |
assetIds | Library assets to use |
format | aspectRatio, durationHintSeconds, resolution |
templateId | A template from listFluosTemplates. The brief is built in a new project copied from that template, with the same structure, pacing, and motion and no storyboard step |
brandKitId, designSystem, designMd | The brand kit, design preset, or inline DESIGN.md to style the video with. Without one, the project's kit or the workspace default is used |
style_reference_url | A YouTube link or a direct .mp4, .mov, or .webm file whose pacing, cuts, palette, and type the video should adapt, never copy. Instagram, X, and TikTok links are rejected with UPLOAD_REQUIRED: upload the file instead |
Job status
Poll getFluosVideoJob every few seconds. status is one of:
| Status | Meaning |
|---|---|
queued | Waiting to start |
running | Building |
awaiting_credits | The build ran out of credits and is paused. Not finished, not failed |
ready | Done. Export it |
failed | See error.code |
cancelled | Cancelled |
While the status is awaiting_credits, the job has a pause object:
{
"status": "awaiting_credits",
"pause": {
"reason": "credits_exhausted",
"topUpUrl": "https://www.fluos.io/dashboard/billing?src=credit_pause",
"expiresAt": 1761696000000
}
}Treat awaiting_credits as not finished. Show the user pause.topUpUrl. Once they add credits, the same job goes back to running by itself, so keep polling, about once a minute, instead of creating a new job. If no credits arrive before pause.expiresAt (epoch milliseconds), the job fails. pause is absent or null in every other status.
Once a version is committed, the job also returns sources[]: every asset the video uses, with its sourceKind, rightsStatus (licensed, cc, user_attested, owned, generated, or unverified), provider, license, author, attribution, and usages (scene, element, track, start, and end).
Exporting
exportFluosVideo takes jobId, an optional format (mp4 default, gif, webm, mov, png-sequence), optional advanced options, and require_licensed. With require_licensed: true, the export is refused with 422 UNLICENSED_SOURCES while any entry in sources[] has unverified rights. Without it, unverified sources do not block the export.
Errors
| Status | When |
|---|---|
404 | Unknown path. Markdown body lists /sitemap.xml, /llms.txt, /docs, /docs/developers, /openapi.json. |
406 | Accept rejected HTML and Markdown. |
401 | Authenticated API without a session or token. JSON { "error", "code": "unauthorized" }. |
402 | Video API on the Free plan (PLAN_REQUIRED, with upgradeUrl), or no credits to start a job (CREDITS_EXHAUSTED, with topUpUrl). |
422 | UNLICENSED_SOURCES: an export with require_licensed: true while a source is unverified. |
Function calling
Import /openapi.json and register each operationId as a tool. Prefer discovery + searchFluosDocs + Markdown getFluosDocPage before answering product questions.