You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Find General application. If it has not been created, choose Initialize General Application. A general key can use the services available to your account; a dedicated application's key is limited to its service. Check the required service/model access and current pricing.
Copy the API Key from the application card, or open Keys / Manage Keys โ Create to create a separate key for this integration. Give it a recognizable name so you can revoke or rotate it independently.
When creating a key, review Expiration Time, Set Usage Limitation, and Allowed APIs. Enable only the restrictions you need, allow the operations you will call, then click Create and copy the token from the key list. Task lookup does not grant permission to submit a generation. Confirm the application's balance can cover your first request; any trial allowance is whatever your account currently displays.
Copy only the token value, without quotation marks, spaces, or Bearer . An API Key / API Token field expects this raw value; only a manually configured HTTP Authorization header needs the Bearer prefix. A platform-... account-management token cannot replace a generation API key.
Save the key in the client's credential store or the environment variable shown below. Never put it in a prompt, shared workflow, screenshot, or Git commit. If authentication fails, check the full copied value, application/service access, expiration, usage limit, and balance before creating another key.
FLUX 3 video generation
POST /flux/videos now supports action="generate" with mode set to t2v, i2v, v2v, or draft_enhance. Use async=true, retain the returned task ID, and poll /flux/tasks. Video editing and upscaling are not published.
Normal generation accepts model="flux-3", prompt, duration, resolution, draft, and generate_audio; preserve explicit false. I2V additionally needs keyframes, V2V needs start_video, and draft enhancement needs an owned draft_task_id. See the current video guide for mode-specific limits and examples.
Based on the Flux series models from Black Forest Labs, quickly generate and edit high-quality AI images through a unified API, supporting the entire range of Flux Dev, Pro, and Kontext.
๐จ Text-to-Image & Image-to-Imageโก Multiple Models Available๐ Unified API Access
6+
Available Flux Models
2
Operation Modes: Generate & Edit
$0.0095
Minimum per Image
0.5
Free Quota
Core Features
Covers the entire process of image generation and editing, supporting various Flux models from basic to professional.
๐ผ๏ธ
High-Quality Text-to-Image
Generate high-resolution images through natural language descriptions, supporting various models including Flux Dev, Pro, and Ultra to meet different precision needs.
โ๏ธ
Kontext Image Editing
Use Flux Kontext Pro/Max models for context-aware image editing, accurately modifying local details of images while maintaining overall consistency.
๐
Asynchronous Task Architecture
After submitting a generation request, poll for results using Task ID; the polling interface is completely free, suitable for batch and background processing scenarios.
๐
Flexible Parameter Control
Supports custom width, height, seed, quantity, and other parameters, allowing precise control over generation results to meet product-level image production needs.
Generate Images with a Single Request
Use the standard RESTful API, authenticate via Bearer Token, and quickly submit image generation tasks.
From registration to generating the first image, it only takes a few minutes.
1
Register and Obtain API Key
Create an account on the platform and go to the console to generate an API key.
2
Call the Image Generation API
Use the /flux/images endpoint to submit a generation request and obtain a Task ID.
3
Poll for Results
Check the task status via /flux/tasks to obtain the generated image.
What is Flux Suitable For?
Various application scenarios to meet creative design and product-level image needs.
๐จ
Creative Design
Quickly generate concept art, illustrations, and design materials to accelerate creative workflows.
๐
E-commerce Product Images
Batch generate product display images and scene images to reduce shooting costs.
๐ฑ
Social Media Content
Quickly produce high-quality graphic content to enhance social media operation efficiency.
๐ฎ
Games and Entertainment
Generate game characters and scene concept art to assist in game development and content creation.
๐
Image Editing
Use Kontext models for local editing, modifying specific elements within images.
๐ข
Corporate Marketing
Quickly produce advertising concepts, marketing materials, and brand visual content.
Flux API Pricing
Charged based on the number of images generated, with prices depending on the model. The polling interface is completely free.
Model
Price per Image
Description
Flux Dev
$0.0095
For development and testing
Flux Pro 1.1
$0.015
Recommended ยท High-Quality Production
Flux Pro
$0.019
Professional-Level Generation
Flux Pro 1.1 Ultra
$0.023
Ultra High Resolution
Flux Kontext Pro
$0.015
Recommended ยท Context Editing
Flux Kontext Max
$0.030
Strongest Editing Capability
For multiple images generated, charged by the count quantity multiplier ยท Polling task status interface /flux/tasks is completely free
Frequently Asked Questions
Common questions about using the Flux API
What is the difference between Flux Dev and Flux Pro?โบ
Flux Dev is a model for development and testing, with the lowest price ($0.0095/image). Flux Pro and Pro 1.1 are production-level models, offering higher image quality and richer details, recommended for formal products.
What is the Kontext model for?โบ
The Flux Kontext model supports context-aware image editingโinput an existing image along with text instructions to accurately modify specific parts of the image without affecting other areas.
Is polling the task status charged?โบ
No charge. The /flux/tasks interface is completely free; charges only apply when submitting a generation request.
What image sizes are supported?โบ
Custom width and height parameters are supported. Common sizes include 1024ร1024, 1024ร1792, 1792ร1024, etc. The Ultra model supports higher resolutions.
Can images be generated in bulk?โบ
Yes. Specify the number of images to generate per request using the count parameter, with costs calculated by quantity multiplier.
Explore More AI Image Services
Ace Data Cloud offers various AI image generation and editing services