Flux AI image generation service.
API home page: Ace Data Cloud - Flux
Keywords: flux-api, ai-image, image-generation, black-forest-labs, rest-api, ai-api, aiimage, flux, ai-video, AI API, REST API, Developer API
Why Use Flux 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
<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: repeat(2,minmax(0,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-q::-webkit-details-marker { display: none; }
.fx-faq-q { list-style: none; }
.fx-faq-item[open] .fx-faq-chev { transform: rotate(90deg); }
.fx-faq-a { 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: minmax(0,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; }
}
.flux-page .fx-code-grid>*{min-width:0}
.flux-page .fx-code-wrap{max-width:100%;min-width:0}
</style>
Black Forest Labs · AI Image Generation
Flux AI Image Generation API
Based on Black Forest Labs' Flux series models, quickly generate and edit high-quality AI images through a unified API, with support for Flux Dev, Pro, Kontext, and the latest Flux 2 series.
🎨 Text-to-Image & Image-to-Image
⚡ Multiple Models Available
🔗 Unified API Integration
2
Modes: Generation & Editing
Covering the complete image generation and editing workflow, with a variety of Flux models ranging from basic to professional.
🖼️
High-Quality Text-to-Image
Generate high-resolution images from natural language descriptions, with support for multiple models including Flux Dev, Pro, Kontext, and Flux 2 to meet different quality requirements.
✏️
Use Flux Kontext Pro/Max models for context-aware image editing, precisely modifying local image details while maintaining overall consistency.
🔄
Asynchronous Task Architecture
After submitting a generation request, retrieve results by polling with the Task ID. The polling API is completely free, making it ideal for batch and background processing.
📐
Flexible Parameter Control
Supports customizable parameters such as width, height, seed, and quantity, enabling precise control over generation results to meet production-grade image creation needs.
Generate images with a single request
Use the standard RESTful API with Bearer Token authentication to 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-pro",
"prompt": "A futuristic cityscape at sunset",
"width": 1024,
"height": 1024,
"count": 1
}'
Get started in 3 quick steps
From registration to generating your first image, it only takes a few minutes.
1
Register and get an API Key
Create an account on the platform, then 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
Query the task status through /flux/tasks to retrieve the generated image.
What is Flux suitable for?
Multiple application scenarios to meet creative design and production-grade image needs.
🎨
Quickly generate concept art, illustrations, and design assets to accelerate creative workflows.
🛒
E-commerce product images
Generate product showcase images and lifestyle images in batches to reduce photography costs.
📱
Quickly create high-quality visual content to improve social media operation efficiency.
🎮
Generate game characters and scene concept art to support game development and content creation.
📝
Use the Kontext model for localized editing to modify specific elements in images.
🏢
Quickly produce advertising creatives, marketing materials, and brand visual content.
Charged by the number of images generated; prices depend on the model. The polling API is completely free.
Model
Price per Image
Description
Flux Dev
$0.023
For development and testing
Flux Pro
$0.030
Professional-grade generation
Flux 2 Pro
$0.027
Recommended · Next generation · Great value
Flux 2 Flex
$0.045
Next generation · Flexible generation
Flux 2 Max
$0.063
Next generation · Highest quality
Flux Kontext Pro
$0.045
Recommended · Context editing
Flux Kontext Max
$0.075
Most powerful editing capabilities
For multiple images, charges are multiplied by the count value · The task status polling API /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 a lower price ($0.023/image). Flux Pro and the latest Flux 2 series are production-grade models with higher image quality and richer details, recommended for official products.
What is the Kontext model for? ›
The Flux Kontext model supports context-aware image editing—provide an existing image along with text instructions to precisely modify specific parts of the image without affecting other areas.
Is polling task status billed? ›
No. The /flux/tasks endpoint is completely free; charges apply only when submitting generation requests.
Which image sizes are supported? ›
Custom width and height parameters are supported. Common sizes include 1024×1024, 1024×1792, and 1792×1024. The Kontext and Flux 2 series control output by image aspect ratio (such as 1:1, 16:9, and 9:16).
Can images be generated in batches? ›
Yes. Use the count parameter to specify the number of images generated per request; charges are calculated as a multiple of the quantity.
Explore More AI Image Services
Ace Data Cloud provides a variety of AI image generation and editing services
🎨
→
🍌
→
🌱
ByteDance Image Generation
→
🎬
Google AI Video Generation
→
Start Using the Flux API Now
Access the full Flux model lineup through a unified interface and easily integrate AI image generation into your product.
curl --request POST " https://api.acedata.cloud/flux/images" \
--header " Authorization: Bearer YOUR_API_KEY" \
--header " Content-Type: application/json" \
--data ' {}'
Explore the supported endpoints and integration guides for Flux.
If you meet any issue, please check support info or browse the latest documentation on docs.acedata.cloud .