BiiiiX Gen MCP
Connect AI assistants and agent frameworks directly to your BiiiiX Elements and Image, Video, and Audio generation pipelines without sharing account passwords or exposing internal project data.
https://api.biiiix.com/api/mcpAuthorization: Bearer biiix_mcp_<token>Quick Start
MCP access is opt-in per account. Enable it in settings before generating a token.
Enable MCP in Settings
Open Account Settings → Security and toggle MCP Access on. Turning it off immediately revokes active access.
Generate Scoped PAT
Select only the scopes your agent needs and set a daily/lifetime credit cap or leave it unlimited.
Connect Your Client
Add the Streamable HTTP endpoint and Bearer token to Cursor, Claude, CrewAI, or Google ADK.
Authentication & Scopes
Pass your Personal Access Token in the Authorization header. User identity and workspace ownership are always derived from the token — never from tool parameters.
elements:readList and inspect your Elements (characters, props, locations, styles).elements:writeCreate and update Elements owned by your account.gen:readList models, inspect quality pricing schemas, quote costs, and poll/cancel jobs.gen:imageSubmit image generation jobs (deducts credits).gen:videoSubmit video generation jobs (deducts credits).gen:audioSubmit audio/speech generation jobs (deducts credits).credits:readRead account credit balance and remaining token cap.Client Integrations
{
"mcpServers": {
"biiiix-gen": {
"url": "https://api.biiiix.com/api/mcp",
"headers": {
"Authorization": "Bearer biiix_mcp_YOUR_TOKEN_HERE"
}
}
}
}Hosted MCP Tools
Available tools for managing Elements, quoting quality pricing, and running Image, Video, and Audio generations.
| Tool | Scope | Description | Parameters |
|---|---|---|---|
| get_credit_balance | credits:read | Check available account credit balance and remaining token cap. | None |
| list_models | gen:read | List enabled Image, Video, and Audio models and supported aspect ratios. | modality? (IMAGE | VIDEO | AUDIO) |
| get_model_schema | gen:read | Inspect allowed qualities, durations, and per-quality credit pricing for a model. | modelKey |
| estimate_generation_cost | gen:read | Get a zero-cost credit quote for a specific quality, duration, and conditioning setup. | modelKey, quality?, durationSeconds?, hasConditioning? |
| list_elements | elements:read | List your BiiiiX Elements (characters, props, locations, styles). | category?, search?, limit? |
| get_element | elements:read | Fetch full metadata and reference image URLs for one Element. | elementId |
| create_element | elements:write | Create a reusable Element with prompt context and reference image. | name, tag, category?, promptContext?, referenceImageUrl? |
| update_element | elements:write | Update an existing Element owned by your account. | elementId, name?, promptContext?, referenceImageUrl? |
| generate_image | gen:image | Render an image with optional Element conditioning and dryRun quoting. | modelKey, prompt, quality?, aspectRatio?, elementIds?, idempotencyKey?, dryRun? |
| generate_video | gen:video | Render a video clip with optional Element or start/end frame conditioning. | modelKey, prompt, quality?, durationSeconds?, elementIds?, startImageUrl?, idempotencyKey?, dryRun? |
| generate_audio | gen:audio | Generate audio or speech tracks. | modelKey, prompt, quality?, durationSeconds?, elementIds?, idempotencyKey?, dryRun? |
| get_generation_job | gen:read | Check current job status and retrieve final media URLs. | jobId |
| wait_for_job | gen:read | Wait up to 45s for completion; re-call with the same jobId if timedOut is true. | jobId, maxWaitSeconds? (5–45) |
| cancel_generation_job | gen:read | Cancel a job and free its plan concurrency slot. | jobId |
Read-Only Resources
MCP clients that support resource URIs can read Element details and Job results directly (strictly scoped to your account):
biiix://elements/{elementId}Element metadata, tags, and reference image URLs.
biiix://jobs/{jobId}Current job status, credits charged, and public output URLs.
Quality Pricing & Quotes
Credit cost varies by model, resolution/quality tier (e.g. 720p vs 1080p, 1k vs 4k), duration, and whether reference media conditioning is attached.
- Call
get_model_schemato inspect supported qualities and a full per-quality pricing matrix. - Call
estimate_generation_costor passdryRun: truetogenerate_*for an exact zero-cost quote before running.
Async Jobs, Waiting & Concurrency
- Bounded waits: Call
wait_for_job(up to 45s per slice). IftimedOut: true, re-callwait_for_jobwith the samejobIdrather than re-submittinggenerate_*. - Idempotent retries: Pass a unique
idempotencyKeywhen callinggenerate_image,generate_video, orgenerate_audioso network retries never double-charge. - Plan concurrency: Active MCP jobs share your Creator plan concurrency limit. Use
cancel_generation_jobto free a slot if needed.