302.AI API Document
Home
Pricing
302.AI-ComfyUI
Copy Page
Default module
Large Language Model
API Migration Guide
Exclusive Feature
Search Online
Chat(Search online)
Depth-First Search
Chat(Depth-First Search)
Image Analysis
Chat(Image analysis)
Reasoning mode
Chat(Reasoning mode)
Link Parsing
Chat(Link Parsing)
Tool Invocation
Chat(tool invocation)
Long-term memory (Beta)
Memobase
User Management
Create User
Get User
Update User
Delete User
Data Management
Insert Data
Get Datas
Get Data
Delete Data
Memory Management
Flush Buffer (Generate Memory)
Get User Profile (Get Memory)
Delete User Profile (Delete Memory)
Chat (Long-term Memory)
Simplified API
Chat (Simplified API)
Asynchronous call
Asynchronous request to chat
Asynchronously retrieve/get results
Claude Format
Messages(Claude Format)
Model Support
Models (List models)
Status(Model Status)
OpenAI
Chat(Talk)
Responses(Talk)
Chat(Streamed return.)
Chat (Image Analysis)
Chat (Structured Output)
Chat (function call)
Chat (gpt-4-plus image analysis)
Chat (gpt-4-plus image generation)
Chat(gpt-4o-image-generation modify image)
Chat (gpts model)
Chat (chatgpt-4o-latest)
Chat (o1 Series Model)
Chat (o3 Series Model)
Chat(o4 Series)
Chat(gpt-4o audio model)
Responses(Deep-Research)
Responses(Codex Cli专用)
Anthropic
Chat(Talk)
Chat(Analyze image)
Chat(Function Call)
Messages(Original format)
Messages(Function Call)
Messages(Thinking mode)
Messages(128k output)
Messages (for Claude Code)
Gemini
Official Format
v1beta(Official Format - Chat)
v1beta (Official Format - Text-to-Image)
v1beta (Official Format - Image Editing)
Chat(Talk)
Chat(Analyze image)
Chat(Image Generation)
China AI Model
Chat (Baidu ERNIE)
Chat (Tongyi Qianwen)
Chat (Tongyi Qianwen-VL)
Chat(Tongyi Qianwen-OCR)
Chat (Zhipu GLM)
Chat (Zhipu GLM Multimodal)
Chat (Baichuan AI)
Chat (Moonshot AI)
Chat (Moonshot AI-Vision)
Chat (01.AI)
Chat (01.AI-VL)
Chat (DeepSeek)
Chat (DeepSeek-VL2)
Chat (ByteDance Doubao)
Chat (ByteDance Doubao-Vision)
Chat(ByteDance Doubao Image Generation)
Chat (Stepfun)
Chat (Stepfun Multimodal)
Chat (iFLYTEK Spark)
Chat (SenseTime)
Chat(Minimax)
Chat (Tencent Hunyuan)
SiliconFlow
Chat(SiliconFlow)
PPIO
Chat(PPIO)
SophNet
Chat(SophNet)
Open Source Model
Chat(LLaMA4)
Chat(LLaMA3.3)
Chat(LLaMA3.2 multimodal)
Chat(LLaMA3.1)
Chat(Mistral)
Chat(Pixtral-Large-2411multimodal)
Chat(Gemma-7B、Gemma-3-27b-it)
Chat(Gemma2-9B)
Chat(Command R+)
Chat(Qwen2)
Chat(Qwen2.5)
Chat(Qwen2.5-VL)
Chat(Qwen3)
Chat(Llama-3.1-nemotron)
Chat(QwQ-32B、QwQ-Plus、QwQ-32B-Preview)
Chat(LongCat-Flash-Chat)
Chat(KAT-Coder)
Expert Model
Chat(WiseDiag Medical Model)
Chat (Xuanyuan Financial Model)
Chat (Farui Legal Model)
Chat (Alibaba Math Model)
Chat(Perplexity search)
Chat(Alibaba Tongyi Translation Model)
Other Models
Chat(grok-3)
Chat(grok-2)
Chat(grok-2-vision)
Chat(Nova)
Chat(v0)
Chat (UniFuncs Deep Research)
Async Get Result
Image Generation
Unified interface
Explanation
302 Format V1
Image Generation (302 Format)
302 Format V2
Synchronous Image Generation (302 Format)
Asynchronous Image Generation (302 Format)
Webhook Request Data Example
Asynchronous Image Generation Result Fetch
Openai Format
Image Generation (OpenAI Format)
Image Editing (OpenAI Format)
GPT-Image-1
Generations(Image generation)
Edits(Modify Image)
Asynchronously fetch images
DALL.E
Generations(DALL·E 3 and DALL·E 2)
Edits(DALL·E 2)
Variations(DALL·E 2)
Stability.ai
Text-to-image (Image Generation-V1)
Generate (Image Generation-SD2)
Generate (Image Generation-SD3-Ultra)
Generate (Image Generation-SD3)
Generate(Image Generation-SD3.5-Large)
Generate(Image Generation-SD3.5-Medium)
Generate(Image to Image-SD3)
Generate(Image to Image-SD3.5-Large)
Generate(Image to Image-SD3.5-Medium)
Midjourney
Imagine
Action
Blend
Describe
Modal
Fetch
Cancel
Midjourney-Relax
Imagine
Action
Blend
Describe
Modal
Fetch
Cancel
Midjourney-Turbo
Imagine
Action
Blend
Describe
Modal
Fetch
Cancel
302.AI
SDXL
SDXL-Lora
SDXL-Lightning
SDXL-Lightning-V2
SDXL-Lightning-V3
SD3
SD3-V2
Aura-Flow
Kolors
Kolors(Reference Image Generation-KLING)
QRCode Generation
Lora
Lora(Get task result)
SD-3.5-Large
SD-3.5-Large-Turbo
SD-3.5-Medium
Lumina-Image-V2(Image generated)
Playground-v25(Image generated)
Omnigen-V1(Image generated)
Qwen-Image(image generation)
Qwen-Image-Lora (LoRA image generation)
Qwen-Image-Lora-Trainer (LoRA training)
Qwen-Image-Lora-Trainer (asynchronous result retrieval)
Glif
Glif(Claude+SD3)
Glif (Text-to-Sticker)
Glif (Text-to-Graffiti)
Glif (Text-to-Wojak Comic)
Glif (Text-to-Lego)
Flux
Official API
Generate
Finetune
Result
Flux-Ultra(v1.1)
Flux-Pro
Flux-Pro(v1.1)
Flux-Dev
Flux-Schnell
Flux-Realism
Flux-Lora
Flux-General
Flux-General-Inpainting(Advanced Customization)
Flux-Lora-Training(Training Lora)
Flux-Lora-Training(Fetch Results Asynchronously)
Flux-1-Krea(Image Generation)
Flux-1-Krea-Redux(Image-to-Image Generation)
Flux-1-SRPO(Image-to-Image Generation)
Ideogram
Generate(subject reference)
Generate(Text-to-image V3)
Generate(Text-to-image)
Recraft
Recraft-V3(Text to Image)
Create-Style(Customized Styles)
Recraft-20B(Image Generation)
Luma
Luma-Photon(Image generation)
Luma-Photon-Flash(Fast image generation)
Doubao
Generations(Seedream 4.0)
Generations(Seedream 3.0)
Generations(SeedEdit 3.0)
Drawing(Doubao image generation)
Google
gemini-2.5-flash-image (Original Format - Text-to-Image)
gemini-2.5-flash-image(Original Format - Image Editing)
gemini-2.5-flash-image (Pay-per-Use - Text-to-Image)
gemini-2.5-flash-image-edit (Pay-per-Use - Image Editing)
gemini-2.5-flash-image (asynchronous per-request billing - text-to-image)
gemini-2.5-flash-image-edit (asynchronous per-request billing - image editing)
gemini-2.5-flash-image (asynchronous result retrieval)
Imagen-4-Preview (Image generated)
Imagen-3 (Image generated)
Imagen-3-Fast (Image generated)
Imagen-4-Preview-Fast (Image Generation)
Imagen-4-Preview-Ultra (Image Generation)
Minimax
image(Text-to-Image Generation)
ZHIPU
image(Text-to-Image Generation)
Baidu
iRAG(Text-to-Image Generation)
Hidream
Hidream-i1-full(Advanced Version)
Hidream-i1-dev(Intermediate Version)
Hidream-i1-fast(Entry-Level Version)
Bagel
Bagel(Image generation)
SiliconFlow
Create Image Generation Request
Higgsfield
Soul (Text to Image)
Character (Generate Character)
Apps (Image-to-Image)
Fetch (Retrieve task results)
Kling
Images-Generations (Image Generation)
Fetch (Get Generated Image Task Result)
Tongyi Wanxiang
T2I (Text-to-Image Alibaba Cloud)
Qwen-Image (Alibaba Cloud Deployment)
Tasks (Retrieve Task Results)
Vidu
Reference to Image (Reference2Image)
Fetch V2 (Fetch task results)
Wavespeed
Universal Interface
Wavespeed Generation Task
Wavespeed Retrieval Task
alibaba/wan-2.5/text-to-image
bytedance/seedream-v4/sequential
bytedance/dreamina-v3.0/text-to-image
bytedance/dreamina-v3.1/text-to-image
bytedance/seedream-v3.1
bytedance/waver-1.0
bytedance/seedream-v4
google/gemini-2.5-flash-image-preview/text-to-image
google/imagen4
google/nano-banana/text-to-image
google/imagen4-fast
google/imagen4-ultra
google/imagen3-fast
google/gemini-2.5-flash-image/text-to-image
google/imagen3
ideogram-ai/ideogram-v2a-turbo
ideogram-ai/ideogram-v3-turbo
ideogram-ai/ideogram-v3-balanced
ideogram-ai/ideogram-v2
ideogram-ai/ideogram-v3-quality
leonardoai/phoenix-1.0
leonardoai/lucid-origin
luma/photon-flash
luma/photon
openai/dall-e-2
openai/dall-e-3
openai/gpt-image-1/text-to-image
openai/gpt-image-1-high-fidelity
reve/text-to-image
recraft-ai/recraft-v3
recraft-ai/recraft-v3-svg
recraft-ai/recraft-20b-svg
runwayml/gen4-image
recraft-ai/recraft-20b
stability-ai/stable-diffusion-3.5-large-turbo
stability-ai/stable-diffusion-3.5-medium
stability-ai/stable-diffusion-3.5-large
stability-ai/stable-diffusion-3
stability-ai/stable-diffusion
stability-ai/sdxl
stability-ai/sdxl-lora
wavespeed-ai/any-llm/vision
wavespeed-ai/flux-dev-lora
wavespeed-ai/flux-dev-ultra-fast
wavespeed-ai/qwen-image/text-to-image
wavespeed-ai/wan-2.2/text-to-image-lora
wavespeed-ai/hunyuan-image-3
wavespeed-ai/wan-2.2/text-to-image-realism
wavespeed-ai/flux-dev
wavespeed-ai/qwen-image/text-to-image-lora
wavespeed-ai/flux-dev-lora-ultra-fast
wavespeed-ai/flux-1-srpo
wavespeed-ai/flux-srpo
wavespeed-ai/female-human
wavespeed-ai/hunyuan-image-2.1
wavespeed-ai/chroma
wavespeed-ai/qwen-image/edit-plus-lora
wavespeed-ai/wan-2.2/i2v-5b-720p
wavespeed-ai/flux-krea-dev-lora
wavespeed-ai/flux-1.1-pro-ultra
wavespeed-ai/flux-1.1-pro
wavespeed-ai/neta-lumina
wavespeed-ai/wan-2.1/text-to-image-lora
wavespeed-ai/wan-2.1/text-to-image
wavespeed-ai/flux-schnell
wavespeed-ai/flux-kontext-max/text-to-image
wavespeed-ai/flux-kontext-pro/text-to-image
bytedance/seedream-v3
wavespeed-ai/imagen4
wavespeed-ai/step1x-edit
wavespeed-ai/hidream-i1-dev
wavespeed-ai/hidream-i1-full
Wavespeed Retrieval Task
Image Processing
302.AI
Upscale
Upscale-V2
Upscale-V3
Upscale-V4
Upscale-V5
Super-Upscale
Super-Upscale-V2
Face-upscale
Colorize
Colorize-V2
Removebg
Removebg-V2
Removebg-V3
Inpaint
Erase
Face-to-many
Llava
Relight
Relight-background
Relight-V2
Face-swap-V2
Fetch
HtmltoPng
SvgToPng
image-translate
image-translate-query
image-translate-redo
Flux-selfie
Trellis(Image to 3D model)
Pose-Transfer(Human Pose Transformation)
Pose-Transfer(Human Pose Transformation Result)
Virtual-Tryon
Virtual-Tryon(Fetch Result)
Virtual-Tryon (Virtual Clothing V2)
Denoise(AI Denoising)
Deblur(AI Deblurring)
SAM(AI-generated mask image)
Retouch(Portrait beautification)
Moondream2 (Image Prompt Generation)
Image_Merge
Qwen-Image-Edit
Qwen-Image-Edit-Plus (Image Editing)
Qwen-Image-Edit-Plus (Image Editing Result)
302.AI-ComfyUI
Create Outfit Change Task
POST
Create Outfit Change Task (Upload Mask)
POST
Query Outfit Change Task Status
GET
Create Face Swap Task
POST
Query Face Swap Task Status
GET
Create a Task to Replace Any Item
POST
Create Object Replacement Task (Upload Mask)
POST
Check the Status of Any Object Replacement Task
GET
Create a Task to Transform Cartoon Characters into Real People
POST
Query the status of the task to turn a manga character into a real person
GET
Create Style Transfer Task
POST
Query the status of the style transfer task
GET
Create Image Removal Task
POST
Query Image Removal Task Status
GET
Create Video Face Swap Task
POST
Query Video Face Swap Task Status
GET
创建视频换脸任务(V2)
POST
查询视频换脸任务状态(V2)
GET
Vectorizer
Vectorize
Stability.ai
Fast Upscale
Creative Upscale
Conservative Upscale
Fetch
Erase
Inpaint
Outpaint
Search-and-replace
Search-and-recolor
Remove-background
Sketch
Structure
Style
Replace-Background
Stable-Fast-3D
Stable-Point-3D(Image to 3D Model Conversion -New Version)
Style-Transfer
Glif
Glif(Portrait Photo Stylization)
Glif(Photo-to-Sculpture)
Glif(Photo Pixelation)
Glif(Logo Materialization)
Glif(Image-to-GIF)
Clipdrop
Cleanup
Upscale
Remove-background
Uncrop
Recraft
Vectorize Image
Remove Background
Clarity Upscale
Generative Upscale
BRIA
Remove Background
Blur Background
Generate Background
Erase Foreground
Eraser
Expand Image
Increase Resolution
Crop
Cutout
Packshot
Shadow
Scene
Caption
Register
Mask
Presenter info
Modify Presenter
Delayer Image
Flux
Official API
Generate(Image Edit)
Result(Query Task)
Flux-V1.1-Ultra-Redux(Image-to-image generation-Ultra)
Flux-V1.1-Pro-Redux(Image-to-image generation-Pro)
Flux-Dev-Redux(Image-to-image generation-Dev)
Flux-Schnell-Redux(Image-to-image generation-Schnell)
Flux-V1-Pro-Canny(Object consistency)
Flux-V1-Pro-Depth(Depth consistency)
Flux-V1-Pro-Fill(Partial repainting)
Flux-Kontext-Pro(Image Edit)
Flux-Kontext-Max(Image Edit)
Flux-Kontext-Dev(Image Edit)
Hyper3D
Hyper3d-Rodin(Generate 3D models)
Hyper3d-Rodin(Obtain task results)
Tripo3D
Task(Task Submission)
Upload(Image Upload)
Fetch
FASHN
Fashn-Tryon(Virtual Try-On)
Fashn-Tryon(Virtual Try-On v1.5)
Ideogram
Edit(subject reference)
Remix(subject reference)
Edit(Image EditionV3)
Remix(Image to ImageV3)
Reframe(Image ExtensionV3)
Replace Background(V3)
Remix(Image to Image)
Upscale(Image Upscaling)
Describe(Image Description)
Edit(Image Edition)
Doubao
SeedEdit(Image Command Editing)
Character(Character Feature Preservation)
SeedEdit_v3.0 (Image Command Editing)
SeedEdit_v3.0 (Result Acquisition)
Portrait (Portrait Photography)
Portrait (Result Acquisition)
Kling
Virtual-Try-On
Fetch(Get Task Result)
Images-expand
Fetch(Retrieve the results of the image upscaling task)
StepFun
Step1x-Edit(Modify Image)
Bagel
Bagel-Edit(Image Edit)
Gongji Computing
Flux Dev
Create flux_dev text-to-image task
Query flux_dev text-to-image task
Flux Kontext Dev
Create flux_kontext_dev image editing task
Query flux_kontext_dev image editing tasks
Create LoRA Image Editing Task
View LoRA Image Editing Task
Face Swapper
Create face_swapper task
Get face_swapper task
Clothes Changer
Create clothes changer task without mask
Get clothes changer task without mask
Create clothes changer task with mask
Get clothes changer task with mask
Anything Changer
创建无遮罩换任意物品任务
查看无遮罩换任意物品任务
创建有遮罩换任意物品任务