- Large Language Model
- API Migration Guide
- Exclusive Feature
- Model Support
- OpenAI
- Anthropic
- Gemini
- China 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
- Open Source Model
- Large Language Model
- Chat(LLaMA3.3)
- Chat(LLaMA3.2 multimodal)
- Chat(LLaMA3.1)
- Chat(Mixtral-8x7B)
- Chat(Mistral-Large-2411)
- Chat(Mistral-small-2503)
- 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(Llama-3.1-nemotron)
- Chat(QwQ-32B、QwQ-Plus、QwQ-32B-Preview)
- Chat(Mistral-Large-2411) Copy
- Expert Model
- Other Models
- Image Generation
- DALL.E
- 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
- Midjourney-Relax
- 302.AI
- Glif
- Flux
- Ideogram
- Recraft
- Luma
- Doubao
- Minimax
- ZHIPU
- Baidu
- Image Processing
- 302.AI
- Upscale
- Upscale-V2
- Upscale-V3
- Upscale-V4
- Super-Upscale
- Super-Upscale-V2
- Face-upscale
- Colorize
- Colorize-V2
- Removebg
- Removebg-V2
- 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)
- 302.AI-ComfyUI
- Create Outfit Change Task
- Query Outfit Change Task Status
- Create Face Swap Task
- Query Face Swap Task Status
- Create a Task to Replace Any Item
- 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
- Vectorizer
- Stability.ai
- Glif
- Clipdrop
- Recraft
- BRIA
- Flux
- 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)
- Hyper3D
- Tripo3D
- FASHN
- Ideogram
- Doubao
- Kling
- 302.AI
- Video Generation
- Unified Interface
- 302.AI
- Stable Diffusion
- Luma AI
- Runway
- Kling
- Txt2Video(Text to Video 1.0 Rapid-5s)
- Txt2Video_HQ(Text to Video 1.5 HQ-5s)
- Txt2Video_HQ(Text to Video 1.5 HQ-10s)
- Image2Video(Image to Video 1.0 Rapid-5s)
- Image2Video(Image to Video 1.0 Rapid-10s)
- Image2Video(Image to Video 1.5 Rapid-5s)
- Image2Video(Image to Video 1.5 Rapid-10s)
- Image2Video_HQ(Image to Video 1.5 HQ-5s)
- Image2Video_HQ(Image to Video 1.5 HQ-10s)
- Extend_Video
- Txt2Video(Text to Video 1.6 Standard-5s)
- Txt2Video(Text to Video 1.6 Standard-10s)
- Txt2Video(Text to Video 1.6 HQ-5s)
- Txt2Video(Text to Video 1.6 HQ-10s)
- Image2Video(Image to Video 1.6 Standard-5s)
- Image2Video(Image to Video 1.6 Standard-10s)
- Image2Video(Image to Video 1.6 HQ-5s)
- Image2Video(Image to Video 1.6 HQ-10s)
- Image2Video (Multiple pictures for reference)
- Fetch
- CogVideoX
- Minimax
- Pika
- PixVerse
- Genmo
- Hedra
- Haiper
- Sync.
- Lightricks
- Hunyuan
- Vidu
- Tongyi Wanxiang
- Jimeng
- SiliconFlow
- Google
- Kunlun Tech
- Audio/Video Processing
- 302.AI
- Stable-Audio(instrumental generation)
- Transcript (Audio/Video to Text)
- Transcriptions(Speech to Text)
- Alignments(Subtitle Timing)
- WhisperX
- F5-TTS(Text to Speech)
- F5-TTS (Asynchronous Text-to-Speech)
- F5-TTS (Asynchronously Retrieve Results)
- mmaudio(Text-to-Speech)
- mmaudio(AI Video Voiceover)
- mmaudio (Asynchronous Result Retrieval)
- Diffrhythm(Song Generation)
- OpenAI
- Azure
- Suno
- Doubao
- Fish Audio
- Minimax
- Dubbingx
- Udio
- Elevenlabs
- 302.AI
- Information Processing
- 302.AI
- Admin Dashboard
- Information search
- Xiaohongshu_Search
- Xiaohongshu_Note
- Get_Home_Recommend
- Tiktok_Search
- Douyin_Search
- Twitter_Search
- Twitter_Post(X_Post)
- Twitter_User(X_User)
- Weibo_Post
- Search_Video
- Youtube_Info
- Youtube_Subtitles(Youtube Obtain Subtitles)
- Bilibili_Info(Bilibili Obtain Video Information)
- MP_Article_List(Get the list of WeChat official account articles)
- MP_Article(Retrieve WeChat Official Account articles)
- File processing
- Code execution
- Tavily
- SearchAPI
- Search1API
- Doc2x
- Glif
- Jina
- DeepL
- Exa
- Bocha AI
- RSSHub
- Firefly card
- Youdao
- Mistral
- 302.AI
- RAG-related
- Tools API
- AI Video Creation Hub
- AI Paper Writing
- AI Podcast Production
- AI Writing Assistant
- AI Video Real-Time Translation
- AI Document Editor
- AI Prompt Expert
- Al Answer Machine
- AI 3D Modeling
- AI Search Master 3.0
- AI Vector Graphics Generation
- Web Data Extraction Tool
- AI PPT Generator
- Generate PPT interface with one click
- File parsing
- Generate an outline
- Generate outline content
- Get template options
- Generate PPT interface (synchronous interface)
- Load PPT data
- Generate PPT interface (asynchronous interface)
- Asynchronous query generates PPT status
- Download PPT
- Add/update custom PPT templates
- Pagination query PPT template
- AI Academic Paper Search
- Help Center
Generate
POST
/pix/generate
Request
Authorization
Header Params
Authorization
string
optional
Example:
Bearer {{YOUR_API_KEY}}
Content-Type
string
optional
Example:
application/json
Body Params application/json
prompt
string
required
image
string
required
model
string
optional
motion_strength
number
optional
motion_scale
object
optional
horizontal
number
required
vertical
number
required
roll
number
required
zoom
number
required
seed
integer
optional
template_id
integer
optional
The number on the right represents the effect value.
Rock and roll together!
324641581197696
Polar bear alert!
325501134629952
360° rotating microwave
324641385496960
Everything can be a plush toy
324640938615168
Oscar-winning actor
321956810449792
Gender switcher
323578865822784
Brazilian goddess Pomba Gira
321958080134016
AI is matchmaking
321958627120000
Nezha transformation
321956534408064
Ao Bing transformation
321957680919424
Wings
313649622731200
Transformers robot
313358700761536
Squid game
316139945292864
Yingji's gaze
317013620689664
Sailor Moon
313359138372032
https://media.pixverse.ai/asset%2Ftemplate%2Fweb_sailormoon.mp4
Black Myth: Wukong 313359209531840
https://media.pixverse.ai/asset%2Ftemplate%2Fweb_blackmyth.mp4
Alive Art 302325299721280
https://media.pixverse.ai/asset%2Ftemplate%2Fweb_aliveart.mp4
Baby Face 315446232403008
https://media.pixverse.ai/upload%2Fb2626bc2-050d-4ea6-a864-e2054c012df5.png
https://media.pixverse.ai/upload%2Fddd29e75-beeb-461c-9388-3e14c2709e73.png
Smoking Vibe 316645675647872
https://media.pixverse.ai/asset%2Ftemplate%2Fwebsmoke250113.mp4
Fight Club 315447659476032
https://media.pixverse.ai/upload%2F6a6a0f6a-99be-4eac-83a1-9d265ca65823.png
https://media.pixverse.ai/upload%2F079945d6-01aa-4688-9e9a-02e308c01db5.png
Kiss Kiss 315446315336768
https://media.pixverse.ai/upload%2F6a6a0f6a-99be-4eac-83a1-9d265ca65823.png
https://media.pixverse.ai/asset%2Ftemplate%2Fweb_kiss_250113.mp4
Christmas OOTD Dress up as a Christmas star
312314911869312
https://media.pixverse.ai/upload%2Fb2626bc2-050d-4ea6-a864-e2054c012df5.png
https://media.pixverse.ai/upload%2Fddd29e75-beeb-461c-9388-3e14c2709e73.png
Santa's Secret Gifts I want a:
311521768592256
https://media.pixverse.ai/upload%2Fb2626bc2-050d-4ea6-a864-e2054c012df5.png
https://media.pixverse.ai/upload%2Fddd29e75-beeb-461c-9388-3e14c2709e73.png
Where is Santa? Discovering Santa Claus in the parallel world!
311521879229312
https://media.pixverse.ai/upload%2Fde34a072-325e-4d86-88d9-2daef292e1b4.jpeg
https://media.pixverse.ai/upload%2F5b4da0a2-86c3-4204-adda-74bfa7c3d0d1.jpg
305714097668480
https://media.pixverse.ai/upload%2F079945d6-01aa-4688-9e9a-02e308c01db5.png
https://media.pixverse.ai/upload%2F6a6a0f6a-99be-4eac-83a1-9d265ca65823.png
https://media.pixverse.ai/upload%2F814307ed-4123-4f6b-a32e-4072b55378cb.png
306059795500352
https://media.pixverse.ai/upload%2Fb2626bc2-050d-4ea6-a864-e2054c012df5.png
https://media.pixverse.ai/upload%2Fddd29e75-beeb-461c-9388-3e14c2709e73.png
https://media.pixverse.ai/asset%2Ftemplate%2Flong-hair_v2.jpg
https://media.pixverse.ai/asset%2Ftemplate%2Flong-hair_v2.mp4
https://media.pixverse.ai/asset%2Ftemplate%2Fhug2.png
https://media.pixverse.ai/asset%2Ftemplate%2Fhug2.mp4
https://media.pixverse.ai/asset%2Ftemplate%2Fwonderwoman1.png
https://media.pixverse.ai/asset%2Ftemplate%2Fwonderwoman1.mp4
https://media.pixverse.ai/asset%2Ftemplate%2Fcatwoman.png
https://media.pixverse.ai/asset%2Ftemplate%2Fcatwoman.mp4
https://media.pixverse.ai/asset%2Ftemplate%2Fharleyquinn.png
https://media.pixverse.ai/asset%2Ftemplate%2Fharleyquinn_v.mp4
308621408717184
https://media.pixverse.ai/asset%2Ftemplate%2Fmuscleman1.png https://media.pixverse.ai/asset%2Ftemplate%2Fmuscleman.mp4
https://media.pixverse.ai/asset%2Ftemplate%2Flvjvren.png?x-oss-process=style/cover-webp
https://media.pixverse.ai/asset%2Ftemplate%2Flvjvren.mp4
https://media.pixverse.ai/asset%2Ftemplate%2Fjoker.png?x-oss-process=style/cover-webp
https://media.pixverse.ai/asset%2Ftemplate%2Fjoker.mp4
https://media.pixverse.ai/asset%2Ftemplate%2Fironman.png?x-oss-process=style/cover-webp
https://media.pixverse.ai/asset%2Ftemplate%2Fironman.mp4
https://media.pixverse.ai/asset%2Ftemplate%2Fbatman.png?x-oss-process=style/cover-webp
https://media.pixverse.ai/asset%2Ftemplate%2Fbatman.mp4
https://media.pixverse.ai/asset%2Ftemplate%2Fwicked_shots_241028.png?x-oss-process=style/cover-webp
https://media.pixverse.ai/asset%2Ftemplate%2Fwicked_shots_241028.mp4
https://media.pixverse.ai/asset%2Ftemplate%2Fvenom.png?x-oss-process=style/cover-webp
https://media.pixverse.ai/asset%2Ftemplate%2Fvenom.mp4
https://media.pixverse.ai/asset%2Ftemplate%2Fvenom33.png?x-oss-process=style/cover-webp
https://media.pixverse.ai/asset%2Ftemplate%2Fvenom33.mp4
https://media.pixverse.ai/asset%2Ftemplate%2Fhug2.png?x-oss-process=style/cover-webp
https://media.pixverse.ai/asset%2Ftemplate%2Fhug2.mp4
https://media.pixverse.ai/asset%2Ftemplate%2Fassetmediazombie2.png?x-oss-process=style/cover-webp
https://media.pixverse.ai/asset%2Ftemplate%2Fzombie2_241031.mp4
Squish It 302325299692608
https://media.pixverse.ai/asset%2Ftemplate%2Fsquish_it_241028_1.png?x-oss-process=style/cover-webp
https://media.pixverse.ai/asset%2Ftemplate%2Fsquish_it_241028_1.mp4
https://media.pixverse.ai/asset%2Ftemplate%2Fzombie_hand_241028.png?x-oss-process=style/cover-webp
https://media.pixverse.ai/asset%2Ftemplate%2Fzombie_hand_241028.mp4
https://media.pixverse.ai/asset%2Ftemplate%2Fanimal_wizard_241028_1.png?x-oss-process=style/cover-webp
https://media.pixverse.ai/asset%2Ftemplate%2Fanimal_wizard_241028_1.mp4
https://media.pixverse.ai/asset%2Ftemplate%2Falive_art_241028.png?x-oss-process=style/cover-webp
https://media.pixverse.ai/asset%2Ftemplate%2Falive_art_241028.mp4
https://media.pixverse.ai/asset%2Ftemplate%2Fleggy_run_241028.png?x-oss-process=style/cover-webp
https://media.pixverse.ai/asset%2Ftemplate%2Fleggy_run_241028.mp4
https://media.pixverse.ai/asset%2Ftemplate%2Fmonster_invasion_241028.png?x-oss-process=style/cover-webp
https://media.pixverse.ai/asset%2Ftemplate%2Fmonster_invasion_241028.mp4
https://media.pixverse.ai/asset%2Ftemplate%2Flego_blast_241028.png?x-oss-
https://file.302.ai/gpt/imgs/20241213/b572f239f92741baa2e9d32d10bf4a00.mp4
https://media.pixverse.ai/asset%2Ftemplate%2Flego_blast_241028.mp4
Example
{
"prompt": "变身成为黑色毒液",
"image": "",
"model": "v3",
"template_id": 303624537709312,
"motion_strength": 0.55,
"motion_scale": {
"horizontal": -3.3,
"vertical": 2.7,
"roll": 4,
"zoom": -4.4
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.302.ai/pix/generate' \
--header 'Authorization: Bearer sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "变身成为黑色毒液",
"image": "",
"model": "v3",
"template_id": 303624537709312,
"motion_strength": 0.55,
"motion_scale": {
"horizontal": -3.3,
"vertical": 2.7,
"roll": 4,
"zoom": -4.4
}
}'
Responses
🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2025-03-11 11:06:03