Flux 3 text-to-image workflow
A basic Flux 3 text-to-image workflow: the Klein base in BF16 with a 9GB Text Upscaler, the Flux 2 VAE and a Qwen VL text encoder. 50 steps is recommended. On Graydient you can also run Distill, Base, BF16 Text Encoder and Upscaler presets for this family, the same ones listed on ModelTrends. A typical render takes about three minutes and wants around 28 GB of VRAM.
รองรับ / ใช้งานได้ในแอปที่ใช้ Graydient
ตัวเลือก
| ตัวเลือก | แมปไปยัง | ค่าเริ่มต้น |
|---|---|---|
(prompt positive) | Text (Multiline) → value | — |
/guidance | KSampler → cfg | 3.5 |
/images | Empty Flux 2 Latent → batch_size | 1 |
/seed | KSampler → seed | random |
/size | Empty Flux 2 Latent → width, height | 1024 × 1024 |
/steps | KSampler → steps | 50 |
โมเดลที่ใช้
/run:flux3 จาก ModelTrends
ดูบน ModelTrends
สำหรับนักพัฒนา (ไม่บังคับ)
ตัวอย่างโค้ด API คุณสามารถสร้างแอปของตัวเองด้วยเวิร์กโฟลว์นี้เพื่อใช้งานส่วนตัว ติดต่อเรา สำหรับเซิร์ฟเวอร์ที่มีความพร้อมใช้งานสูงเมื่อคุณพร้อมจะปล่อยใช้งานทั่วโลก ดู เอกสาร API การเรนเดอร์ฉบับเต็ม.
curl https://cloud.graydient.ai/api/v3/render/ \
-X POST \
-H "Content-Type: application/vnd.api+json" \
-H "Accept: application/vnd.api+json" \
-H "Authorization: Bearer $GRAYDIENT_TOKEN" \
-d '{
"prompt": "/workflow /run:flux3 a lighthouse on a cliff at dusk",
"callback_url": "https://example.com/webhook/render"
}'
นี่คือวิธีการทำงานเบื้องหลัง ฉันได้ตั้งค่ามาให้คุณแล้ว พารามิเตอร์ในตารางด้านบนจะเชื่อมต่อกับช่องเหล่านี้ ช่วยให้คุณเปลี่ยนวิธีการทำงานและเลือกโมเดลที่จะโหลดได้ คุณไม่จำเป็นต้องเข้าใจหรือแก้ไขตรงนี้ - มันทำงานได้เลย ตั้งค่าไว้แล้ว
มุมมองอ่านอย่างเดียว ยาเม็ดที่เน้นคือทางเลือกที่การเรียกสามารถตั้งค่าได้ Base BF16 with 9GB Text Upscaler; 50 steps recommended.
เวิร์กโฟลว์ทั้งหมด: เวิร์กโฟลว์ทรงพลัง