302.AI API Document
Home
Pricing
Runway
Copy Page
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 (gpt-4o Image Analysis)
Chat (gpt-4o Structured Output)
Chat (gpt-4o 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)
Anthropic
Chat(Talk)
Chat(Analyze image)
Chat(Function Call)
Messages(Original format)
Messages(Function Call)
Messages(Thinking mode)
Messages(128k output)
Gemini
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-4)
Chat (Zhipu GLM-4V)
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)
Expert Model
Chat(WiseDiag Medical Model)
Chat (ChatLaw Legal Model)
Chat (Xuanyuan Financial Model)
Chat (Farui Legal Model)
Chat (Alibaba Math Model)
Chat(Perplexity search)
Chat(阿里通义翻译模型)
Other Models
Chat(grok-3)
Chat(grok-2)
Chat(grok-2-vision)
Chat(Nova)
Chat(v0)
Chat(UniFuncs深度调研)
异步获取结果
Image Generation
Unified interface
Explanation
Image Generation (302 Format)
Image Generation (OpenAI Format)
Image Edit(OpenAI Format)
GPT-Image-1
Generations(Image generation)
Edits(Modify Image)
DALL.E
Generations(DALL·E 3和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
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
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)
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)
Ideogram
Generate(Text to ImageV3)
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 (Jimeng Image Generation)
Drawing(Doubao image generation)
Google
Imagen-4-Preview (Image generated)
Imagen-3 (Image generated)
Imagen-3-Fast (Image generated)
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)
Fetch (Retrieve task results)
Kling
Images-Generations (Image Generation)
Fetch (Get Generated Image Task Result)
Image Processing
302.AI
Upscale
Upscale-V2
Upscale-V3
Upscale-V4
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)
Denoise(AI Denoising)
Deblur(AI Deblurring)
SAM(AI-generated mask image)
Retouch(Portrait beautification)
302.AI-ComfyUI
Create Outfit Change Task
Create Outfit Change Task (Upload Mask)
Query Outfit Change Task Status
Create Face Swap Task
Query Face Swap Task Status
Create a Task to Replace Any Item
Create Object Replacement Task (Upload Mask)
Check the Status of Any Object Replacement Task
Create a Task to Transform Cartoon Characters into Real People
Query the status of the task to turn a manga character into a real person
Create Style Transfer Task
Query the status of the style transfer task
Create Image Removal Task
Query Image Removal Task Status
Create Video Face Swap Task
Query Video Face Swap Task Status
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(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
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
Hunyuan3D
Hunyuan3d-v21(生成3D模型)
Hunyuan3d-v21(获取任务结果)
Hidream
Hidream-E1(图片修改)
Video Generation
Unified Interface
Explanation
Create Video Generation Task
Retrieve Video Task Information
302.AI
Image-to-video
Live-portrait
Video-To-Video
Fetch
Latentsync (Open source digital person)
Latentsync (get task results)
Upscale-Video(Video Enhancement)
Upscale-Video(Get Video Results)
Stable Diffusion
Image-to-video
Fetch Image-to-video
Luma AI
Submit(Text / Image to Video)
Extend(Video)
Fetch
Runway