Skip to content
AceDataCloudPublic

Latest commit

ย 

History

90 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 

Repository files navigation

Flux Image Generation API

Get your Ace Data Cloud API key

  1. Open Ace Data Cloud โ†’ Applications. Sign in, or register an account first.
  2. 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.
  3. 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.
  4. 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.
  5. 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.

Copy an application API key or open Manage Keys

Create a separately named key with optional restrictions

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.

Flux AI image generation service.

Platform API Docs

Flux Image Generation

API home page: Ace Data Cloud - Flux Image Generation

Keywords: flux-api, ai-image, image-generation, black-forest-labs, rest-api, ai-api, aiimage, AI API, REST API, Developer API, Ace Data Cloud

Why Use Flux Image Generation on Ace Data Cloud

  • Unified developer platform with one API key, billing system, and usage tracking
  • Production-ready AI API endpoints served from https://api.acedata.cloud
  • English integration guides, API references, and service documentation
  • Global-ready workflow for developers building chat, image, video, music, and search products

Overview

<style> .flux-page * { box-sizing: border-box; } .flux-page h1, .flux-page h2, .flux-page h3, .flux-page h4, .flux-page h5, .flux-page h6, .flux-page p, .flux-page ul, .flux-page ol, .flux-page li, .flux-page pre, .flux-page blockquote, .flux-page table, .flux-page td, .flux-page th { margin: 0; padding: 0; } .flux-page { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color: var(--el-text-color-primary); background: var(--el-bg-color); line-height: 1.6; } .flux-page a { text-decoration: none; color: inherit; } .flux-page a:hover { text-decoration: none; } .flux-page ul { list-style: none; } .markdown-body .flux-page a { color: inherit !important; text-decoration: none !important; } .markdown-body .flux-page a:hover { text-decoration: none !important; } .markdown-body .flux-page a.fx-btn-primary, .markdown-body .flux-page a.price-btn-fill, .markdown-body .flux-page a.btn-cta-light { color: #ffffff !important; } .markdown-body .flux-page a.fx-btn-secondary { color: var(--el-text-color-primary) !important; } .markdown-body .flux-page a.price-btn-out { color: var(--el-text-color-primary) !important; } .markdown-body .flux-page a.btn-cta-ghost { color: #94a3b8 !important; } .markdown-body .flux-page a.btn-cta-ghost:hover { color: #e2e8f0 !important; } .markdown-body .flux-page h1, .markdown-body .flux-page h2 { border-bottom: none !important; padding-bottom: 0 !important; } .fx-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; } .fx-container-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; } .fx-section { padding: 80px 0; } .fx-section-sm { padding: 48px 0; } .fx-bg-white { background: var(--el-bg-color); } .fx-bg-gray { background: var(--el-bg-color-page); } .fx-header { text-align: center; margin-bottom: 64px; } .fx-header h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: var(--el-text-color-primary); letter-spacing: normal; margin-bottom: 20px; line-height: 1.15; } .fx-header p { font-size: clamp(16px, 2vw, 18px); color: var(--el-text-color-regular); max-width: 640px; margin: 0 auto; line-height: 1.6; } .flux-page .fx-btn-primary { display: inline-flex; align-items: center; gap: 6px; padding: 14px 28px; background: #7c3aed; color: #ffffff !important; border-radius: 9999px; font-size: 15px; font-weight: 600; transition: background 0.2s, transform 0.15s; border: none; cursor: pointer; text-decoration: none !important; } .flux-page .fx-btn-primary:hover { background: #6d28d9; transform: translateY(-1px); text-decoration: none !important; } .flux-page .fx-btn-secondary { display: inline-flex; align-items: center; gap: 6px; padding: 14px 28px; background: var(--el-bg-color); color: var(--el-text-color-primary) !important; border: 1px solid var(--el-border-color-light); border-radius: 9999px; font-size: 15px; font-weight: 600; transition: border-color 0.2s, background 0.2s; cursor: pointer; text-decoration: none !important; } .flux-page .fx-btn-secondary:hover { background: var(--el-bg-color-page); text-decoration: none !important; } .flux-hero { padding: 100px 0 80px; text-align: center; background: var(--el-bg-color); position: relative; overflow: hidden; } .flux-hero::before { content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 900px; height: 500px; background: radial-gradient(ellipse, rgba(124, 58, 237, 0.06) 0%, transparent 70%); pointer-events: none; } .fx-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: var(--el-bg-color-page); border: 1px solid var(--el-border-color-light); border-radius: 9999px; font-size: 13px; font-weight: 600; color: var(--el-text-color-regular); margin-bottom: 28px; } .fx-badge-dot { width: 6px; height: 6px; background: #10b981; border-radius: 50%; display: inline-block; } .flux-hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.08; letter-spacing: normal; margin-bottom: 18px; font-weight: 700; } .flux-hero h1 .fx-brand { color: #7c3aed; } .flux-hero h1 .fx-sub { color: var(--el-text-color-primary); } .flux-page .hero-subtitle { max-width: 680px; margin: 0 auto; font-size: clamp(16px, 2.1vw, 20px); color: var(--el-text-color-regular); line-height: 1.6; } .fx-actions { margin-top: 56px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; } .fx-highlights { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 40px; } .fx-highlights .h-item { font-size: 13px; color: var(--el-text-color-regular); display: flex; align-items: center; gap: 6px; } .fx-highlights .h-div { width: 1px; height: 14px; background: var(--el-border-color-light); } .fx-stats { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 20px !important; } .fx-stat { background: var(--el-bg-color); border: 1px solid var(--el-border-color-light); border-radius: 16px; padding: 24px 16px; text-align: center; } .fx-stat-val { font-size: clamp(28px, 4vw, 38px); font-weight: 700; color: var(--el-text-color-primary); line-height: 1.1; } .fx-stat-lbl { margin-top: 8px; font-size: 13px; color: var(--el-text-color-regular); } .fx-feat-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; } .fx-feat-card { background: var(--el-bg-color); border: 1px solid var(--el-border-color-light); border-radius: 16px; padding: 28px 24px; transition: border-color 0.2s; } .fx-feat-card:hover { border-color: var(--el-text-color-regular); } .fx-feat-card h3 { font-size: 18px; font-weight: 700; color: var(--el-text-color-primary); margin-bottom: 8px; } .fx-feat-card p { font-size: 15px; color: var(--el-text-color-regular); line-height: 1.6; } .fx-feat-icon { font-size: 28px; margin-bottom: 12px; } .fx-code-wrap { border-radius: 16px !important; overflow: hidden !important; border: 1px solid #334155 !important; background: #0f172a !important; } .markdown-body .flux-page .fx-code-wrap { background: #0f172a !important; } .fx-code-head { padding: 10px 16px; background: #1e293b; border-bottom: 1px solid #334155; color: #cbd5e1; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; } .fx-code { margin: 0 !important; padding: 18px !important; white-space: pre !important; overflow-x: auto !important; font-family: 'JetBrains Mono', 'Fira Code', 'SFMono-Regular', monospace !important; font-size: 13px !important; line-height: 1.7 !important; color: #e2e8f0 !important; background: transparent !important; border: none !important; } .markdown-body .flux-page .fx-code { background: transparent !important; } .fx-code-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 0 !important; align-items: stretch; } .fx-code-left { display: flex; flex-direction: column; justify-content: center; padding: 0 40px 0 0; } .fx-code-left h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; color: var(--el-text-color-primary); margin-bottom: 16px; } .fx-code-left > p { font-size: 16px; color: var(--el-text-color-regular); line-height: 1.6; } .fx-steps { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 0 !important; position: relative; } .fx-step { text-align: center; padding: 0 24px; } .fx-step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--el-bg-color-page); border: 2px solid var(--el-border-color-light); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: var(--el-text-color-regular); margin-bottom: 16px; } .fx-step h3 { font-size: 17px; font-weight: 700; color: var(--el-text-color-primary); margin-bottom: 8px; } .fx-step p { font-size: 14px; color: var(--el-text-color-regular); line-height: 1.6; } .fx-step-conn { position: absolute; top: 22px; height: 2px; background: var(--el-border-color-light); } .fx-step-conn-1 { left: calc(100% / 6); right: calc(100% / 6 * 3); } .fx-step-conn-2 { left: calc(100% / 6 * 3); right: calc(100% / 6); } .fx-uc-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 20px !important; } .fx-uc-card { background: var(--el-bg-color); border: 1px solid var(--el-border-color-light); border-radius: 16px; padding: 24px; transition: border-color 0.2s; } .fx-uc-card:hover { border-color: var(--el-text-color-regular); } .fx-uc-icon { font-size: 28px; margin-bottom: 10px; } .fx-uc-card h3 { font-size: 16px; font-weight: 700; color: var(--el-text-color-primary); margin-bottom: 6px; } .fx-uc-card p { font-size: 14px; color: var(--el-text-color-regular); line-height: 1.5; } .price-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; } .flux-page .price-table { display: table !important; width: 100%; max-width: 700px; margin: 0 auto; border-collapse: collapse; font-size: 15px; } .flux-page .price-table th, .flux-page .price-table td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--el-border-color-light); } .flux-page .price-table th { background: var(--el-bg-color-page); font-weight: 600; font-size: 13px; color: var(--el-text-color-secondary); text-transform: uppercase; letter-spacing: 0.04em; } .flux-page .price-table td { color: var(--el-text-color-regular); } .flux-page .price-table td:first-child { text-align: left; font-weight: 600; color: var(--el-text-color-primary); } @media (max-width: 640px) { .flux-page .price-table th, .flux-page .price-table td { padding: 10px 8px; font-size: 13px; } } .price-hot { background: rgba(124, 58, 237, 0.04) !important; } .price-amt { font-weight: 700; color: var(--el-text-color-primary); } .price-cta { text-align: center; margin-top: 24px; } .fx-faq-list { max-width: 800px; margin: 0 auto; } .fx-faq-item { border-bottom: 1px solid var(--el-border-color-lighter); } .fx-faq-q { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--el-text-color-primary); transition: color 0.2s; } .fx-faq-q:hover { color: #7c3aed; } .fx-faq-chev { font-size: 18px; color: var(--el-text-color-regular); transition: transform 0.2s; } .fx-faq-a { display: none; padding: 0 0 20px; } .fx-faq-a p { font-size: 15px; color: var(--el-text-color-regular); line-height: 1.7; } .fx-rel-grid { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 16px !important; } .fx-rel-card { display: flex; align-items: center; gap: 14px; background: var(--el-bg-color); border: 1px solid var(--el-border-color-light); border-radius: 14px; padding: 16px 18px; transition: border-color 0.2s; } .fx-rel-card:hover { border-color: var(--el-text-color-regular); } .fx-rel-icon { font-size: 28px; flex-shrink: 0; } .fx-rel-info h3 { font-size: 15px; font-weight: 700; color: var(--el-text-color-primary); } .fx-rel-info p { font-size: 12px; color: var(--el-text-color-regular); margin-top: 2px; } .fx-rel-arrow { margin-left: auto; font-size: 16px; color: var(--el-border-color); transition: color 0.2s; } .fx-rel-card:hover .fx-rel-arrow { color: var(--el-text-color-regular); } .flux-cta { text-align: center; background: #0f172a; color: #f8fafc; padding: 80px 0; position: relative; overflow: hidden; } .flux-cta::before { content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%); width: 600px; height: 400px; background: radial-gradient(ellipse, rgba(124, 58, 237, 0.15) 0%, transparent 70%); pointer-events: none; } .flux-cta h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; letter-spacing: normal; margin-bottom: 28px; position: relative; } .flux-cta p { font-size: 17px; color: #cbd5e1; max-width: 600px; margin: 0 auto 56px; position: relative; } .flux-cta .fx-actions { position: relative; margin-top: 0; } .flux-page .btn-cta-light { display: inline-flex; align-items: center; gap: 6px; padding: 14px 28px; background: #7c3aed; color: #ffffff !important; border-radius: 9999px; font-size: 15px; font-weight: 600; transition: background 0.2s; text-decoration: none !important; } .flux-page .btn-cta-light:hover { background: #6d28d9; } .flux-page .btn-cta-ghost { display: inline-flex; align-items: center; gap: 6px; padding: 14px 28px; background: transparent; color: #94a3b8 !important; border: 1px solid #475569; border-radius: 9999px; font-size: 15px; font-weight: 600; transition: border-color 0.2s, color 0.2s; text-decoration: none !important; } .flux-page .btn-cta-ghost:hover { border-color: #94a3b8; color: #e2e8f0 !important; } .flux-page code { background: #ede9fe !important; color: #6d28d9 !important; border: 1px solid #c4b5fd !important; padding: 2px 6px !important; border-radius: 4px !important; font-size: 0.88em !important; font-weight: 600 !important; } html.dark .flux-page { background: var(--el-bg-color); color: var(--el-text-color-primary); } html.dark .markdown-body .flux-page a { color: inherit !important; text-decoration: none !important; } html.dark .markdown-body .flux-page a.fx-btn-primary, html.dark .markdown-body .flux-page a.price-btn-fill, html.dark .markdown-body .flux-page a.btn-cta-light { color: #ffffff !important; } html.dark .markdown-body .flux-page a.fx-btn-secondary { color: var(--el-text-color-primary) !important; } html.dark .markdown-body .flux-page a.price-btn-out { color: var(--el-text-color-primary) !important; } html.dark .markdown-body .flux-page a.btn-cta-ghost { color: #94a3b8 !important; } html.dark .markdown-body .flux-page a.btn-cta-ghost:hover { color: var(--el-text-color-primary) !important; } html.dark .fx-bg-white { background: var(--el-bg-color); } html.dark .fx-bg-gray { background: var(--el-bg-color-page); } html.dark .fx-header h2 { color: var(--el-text-color-primary); } html.dark .fx-header p { color: var(--el-text-color-secondary); } html.dark .flux-page .fx-btn-primary { background: #7c3aed; } html.dark .flux-page .fx-btn-primary:hover { background: #6d28d9; } html.dark .flux-page .fx-btn-secondary { background: #1e293b; color: var(--el-text-color-primary) !important; border-color: #475569; } html.dark .flux-page .fx-btn-secondary:hover { background: var(--el-border-color); border-color: var(--el-text-color-regular); } html.dark .flux-hero { background: var(--el-bg-color); } html.dark .flux-hero::before { background: radial-gradient(ellipse, rgba(124, 58, 237, 0.15) 0%, transparent 70%); } html.dark .fx-badge { background: var(--el-bg-color-page); border-color: var(--el-border-color); color: var(--el-text-color-secondary); } html.dark .flux-hero h1 .fx-brand { color: #a78bfa; } html.dark .flux-hero h1 .fx-sub { color: var(--el-text-color-primary); } html.dark .flux-page .hero-subtitle { color: var(--el-text-color-secondary); } html.dark .fx-highlights .h-item { color: var(--el-text-color-secondary); } html.dark .fx-highlights .h-div { background: var(--el-border-color); } html.dark .fx-stat { background: var(--el-bg-color-page); border-color: var(--el-border-color); box-shadow: none; } html.dark .fx-stat-val { color: var(--el-text-color-primary); } html.dark .fx-stat-lbl { color: var(--el-text-color-regular); } html.dark .fx-feat-card { background: var(--el-bg-color-page); border-color: var(--el-border-color); } html.dark .fx-feat-card:hover { border-color: var(--el-text-color-regular); } html.dark .fx-feat-card h3 { color: var(--el-text-color-primary); } html.dark .fx-feat-card p { color: var(--el-text-color-secondary); } html.dark .fx-code-left h2 { color: var(--el-text-color-primary); } html.dark .fx-code-left > p { color: var(--el-text-color-secondary); } html.dark .fx-step-num { background: var(--el-border-color); border-color: var(--el-text-color-regular); color: var(--el-text-color-secondary); } html.dark .fx-step h3 { color: var(--el-text-color-primary); } html.dark .fx-step p { color: var(--el-text-color-regular); } html.dark .fx-step-conn { background: var(--el-border-color); } html.dark .fx-uc-card { background: var(--el-bg-color-page); border-color: var(--el-border-color); } html.dark .fx-uc-card:hover { border-color: var(--el-text-color-regular); } html.dark .fx-uc-card h3 { color: var(--el-text-color-primary); } html.dark .fx-uc-card p { color: var(--el-text-color-secondary); } html.dark .flux-page .price-table th { background: var(--el-bg-color-page); color: var(--el-text-color-secondary); border-color: var(--el-border-color); } html.dark .flux-page .price-table td { border-color: var(--el-border-color); } html.dark .flux-page .price-table td:first-child { color: var(--el-text-color-primary); } html.dark .price-hot { background: rgba(124, 58, 237, 0.12) !important; } html.dark .price-amt { color: var(--el-text-color-primary); } html.dark .fx-faq-item { border-color: var(--el-border-color); } html.dark .fx-faq-q { color: var(--el-text-color-primary); } html.dark .fx-faq-q:hover { color: #a78bfa; } html.dark .fx-faq-chev { color: var(--el-text-color-regular); } html.dark .fx-faq-a p { color: var(--el-text-color-secondary); } html.dark .fx-rel-card { background: var(--el-bg-color-page); border-color: var(--el-border-color); } html.dark .fx-rel-card:hover { border-color: var(--el-text-color-regular); } html.dark .fx-rel-info h3 { color: var(--el-text-color-primary); } html.dark .fx-rel-info p { color: var(--el-text-color-regular); } html.dark .fx-rel-arrow { color: var(--el-text-color-regular); } html.dark .flux-cta { background: #020617; } html.dark .flux-cta::before { background: radial-gradient(ellipse, rgba(124, 58, 237, 0.2) 0%, transparent 70%); } html.dark .flux-page .btn-cta-light { color: #ffffff !important; } html.dark .flux-page .btn-cta-ghost { color: #94a3b8 !important; } html.dark .flux-page .btn-cta-ghost:hover { color: var(--el-text-color-primary) !important; } html.dark .flux-page code { background: #2e1065 !important; color: #c4b5fd !important; border-color: #6d28d9 !important; } @media (max-width: 980px) { .fx-stats { grid-template-columns: repeat(2, 1fr) !important; } .fx-feat-grid { grid-template-columns: 1fr !important; } .fx-code-grid { grid-template-columns: 1fr !important; } .fx-code-left { padding: 0 0 32px 0; } .fx-steps { grid-template-columns: 1fr !important; gap: 24px !important; } .fx-step-conn { display: none; } .fx-uc-grid { grid-template-columns: 1fr !important; } .fx-rel-grid { grid-template-columns: repeat(2, 1fr) !important; } } @media (max-width: 480px) { .fx-stats { grid-template-columns: 1fr !important; } .fx-rel-grid { grid-template-columns: 1fr !important; } } </style>
Black Forest Labs ยท AI Image Generation

Flux AI Image Generation API

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.

cURL
curl -X POST "https://api.acedata.cloud/flux/images" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "flux-2-pro",
"prompt": "A futuristic cityscape at sunset",
"width": 1024,
"height": 1024,
"count": 1
}'

3 Steps to Get Started Quickly

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

๐ŸŒ

Gemini Image Generation

โ†’ ๐ŸŒฑ

ByteDance Image Generation

โ†’ ๐ŸŽฌ

OpenAI Video Generation

โ†’

Start Using Flux API Now

Unified access to the entire range of Flux models, easily integrate AI image generation capabilities into your products.

Quick Start

curl --request POST "https://api.acedata.cloud/flux/images" \
  --header "Authorization: Bearer YOUR_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{}'

APIs and Guides

Explore the supported endpoints and integration guides for Flux Image Generation.

API Path Integration Guidance
Flux Images Generation API /flux/images Flux Images Generation API Integration Guide
Flux Tasks API /flux/tasks Flux Tasks API Integration Guide

Related Resources

Support

If you meet any issue, please check support info or browse the latest documentation on docs.acedata.cloud.