302.AI API Document
  1. Higgsfield
  • 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)
    • 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 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)
    • 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)
    • Other Models
      • Chat(grok-3)
      • Chat(grok-2)
      • Chat(grok-2-vision)
      • Chat(Nova)
      • Chat(v0)
  • Image Generation
    • Unified interface
      • Generate images
    • 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
      • 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)
        POST
      • Fetch (Retrieve task results)
        GET
  • 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)
    • 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)
    • 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
      • 官方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)
    • 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)
    • Kling
      • Virtual-Try-On
      • Fetch(Get Task Result)
    • StepFun
      • Step1x-Edit(Modify Image)
    • Bagel
      • Bagel-Edit(Image Edit)
  • Video Generation
    • Unified Interface
      • 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
      • Submit(Text to Video)
      • Submit(Image to Video)
      • Submit(Image to Video Rapid)
      • Submit(Image-to-Video Generation with Gen4)
      • Submit(Image to Video Generation Gen4-Turbo)
      • Submit(Video to Video)
      • Submit(Video to Video Rapid)
      • Submit(Act-one motion capture)
      • Submit(Video extension)
      • Fetch
    • Kling
      • 302 format
        • 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)
        • 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)
        • Txt2Video(Text-to-Video 2.0 – HD – 5s)
        • Image2Video(Image-to-Video 2.0 – HD – 5s)
        • Image2Video(Image-to-Video 2.0 – HD – 10s)
        • Image2Video (Multiple pictures for reference)
        • Image2Video(Multiple pictures for reference)
        • Extend_Video
        • Image2Video(Image video 2.1-5 seconds)
        • Image2Video(Image video 2.1-10 seconds)
        • Image2Video(Image Video 2.1-HD-10 seconds)
        • Image2Video(Image Video 2.1-HD-5 seconds)
        • Fetch
      • Official format
        • Text2video (Text-to-Video Official API)
        • Text2video (Text-to-Video Get Task Result)
        • Image2video (Image-to-Video Official API)
        • Image2video (Image-to-Video Get Task Result)
    • CogVideoX
      • Generations (text-generated video)
      • Generations(Image-generated video)
      • Results (get task results)
    • Minimax
      • Video(Text-to-Video)
      • Video (Image-to-Video Generation)
      • Video(Based on Subject Reference)
      • Video (Camera Movement Control)
      • Video(MiniMax-Hailuo-02)
      • Query(Result)
      • Files(Video Download)
    • Pika
      • 1.5 pikaffects(Image-to-Video Generation)
      • Turbo Generate(Text-to-Video Generation)
      • Turbo Generate(Text-to-Video Generation)
      • 2.1 Generate(Text-to-Video Generation)
      • 2.1 Generate(Image-to-Video Generation)
      • 2.2 Generate(Text-to-Video Generation)
      • 2.2 Generate(Image-to-Video Generation)
      • 2.2 Pikascenes(Generate scene videos)
      • Fetch(Result)
    • PixVerse
      • Pixverse Special Effect ID
      • Pixverse Sound Effect ID
      • Generate
      • Fetch
    • Genmo
      • Mochi-v1 (Get task results)
      • Mochi-v1(Text to Video)
    • Hedra
      • 2.0
        • Audio(Upload)
        • Portrait(Upload)
        • Characters(lip-synthesis)
        • Fetch(Result)
      • 3.0
        • List Models(Get a list of models)
        • Create Asset(Resource creation)
        • Upload Asset(Resource upload)
        • Generate Asset(Resource Synthesis)
        • Get Status(Get resource synthesis results)
    • Haiper
      • Haiper(Text to Video)
      • Haiper(Image to Video)
      • Haiper(Text to Video V2.5)
      • Haiper(Image to Video V2.5)
      • Haiper(Fetch Task Result)
    • Sync.
      • Generate
      • Fetch
    • Lightricks
      • Ltx-Video
      • Ltx-Video-I2V
      • Ltx-Video-v095(Text-to-video generation)
      • Ltx-Video-v095-I2V(Image-to-Video Generation)
    • Hunyuan
      • Hunyuan(Text-to-Video)
      • Hunyuan(Obtain Task Results)
    • Vidu
      • Vidu(Text-to-Video)
      • Vidu(Image to Video)
      • Vidu(Generate video from the first and last frames)
      • Vidu(Reference-based video generation)
      • Vidu(Generate scene video)
      • Vidu(Smart Ultra HD)
      • Fetch(Retrieve Task Results)
      • Vidu V2(Text-to-Video Generation)
      • Vidu V2(Image-to-Video)
      • Vidu V2(Start-and-End Frame Video Generation)
      • Vidu V2(Subject-Driven Video Generation)
      • Vidu(Scene Video Generation V2)
      • Vidu V2(AI Ultra HD – Premium)
      • Fetch V2(Retrieve Task Result)
    • Tongyi Wanxiang
      • T2V(Text-to-Video)
      • Tasks(Fetch Task Result)
      • wan-t2v(Text-to-video open source version)
      • wan-t2v(Fetch Task Result)
      • wan-i2v(Image-to-video open source version)
      • wan-i2v(Fetch Task Result)
      • wan-vace(Video Edit)
      • wan-vace(Fetch Task Result)
    • Jimeng
      • Seaweed (Text/picture generated video)
      • Seaweed (Fetch Task Results)
      • Seedance (Text/picture generated video)
      • Seedance (Fetch Task Results)
    • SiliconFlow
      • LTX-Video(Video Generation)
      • HunyuanVideo(Video Generation)
      • Mochi-1-Preview(Video Generation)
      • Tasks(Fetch Task Result)
    • Google
      • Veo3-Fast(Text-to-video)
      • Veo3-Fast(Get task result)
      • Veo3-Pro(Text-to-video)
      • Veo3-Pro(Get task result)
      • Veo3-Pro-Frames(Image and Text to Video Generation)
      • Veo3-Pro-Frames(Veo3-Pro-Frames)
      • Veo2(Text-to-video)
      • Veo2-i2v(Image to video generation)
      • Veo2(Get task results)
      • Veo3 (Text-to-video)
      • Veo3 (Get task result)
    • Kunlun Tech
      • Skyreels(Image to Video)
      • Skyreels(Get task results)
    • Higgsfield
      • Generate(Image to Video)
      • Shortads(Image-Generated Advertising Video)
      • Fetch(Retrieve Task Results)
    • Chanjing
      • Create a video synthesis task
      • Retrieve video details
      • Delete video
      • Retrieve the list of supported fonts
      • Generate a digital human avatar
      • Retrieve avatar details
      • Delete avatar
      • Public digital human list
    • Midjourney
      • MJ-Video(Image to Video)
      • MJ-Video(Video Extension)
      • Fetch(Fetch Task)
  • Audio/Video Processing
    • Unified interface
      • TTS
        • Text-to-Speech Generation
        • Query TTS Provider Information
    • 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
      • Speech(Text to Speech tts-1)
      • Transcriptions(Speech to Text whisper-1)
      • Translations(Speech to English Text whisper-1)
      • Realtime
    • Azure
      • AzureTTS(Text to Speech)
      • Voice-List
    • Suno
      • Music(Automatic Mode)
      • Music(Custom Mode)
      • Music(Generate Lyrics)
      • Music(Song Continuation)
      • Fetch
    • Doubao
      • tts_hd(Text to Speech)
      • vc-ata(Automatic subtitle timing)
      • fetch(Query Generation Status)
      • vc(Audio and video caption generation)
      • fetch(Query caption result)
    • Fish Audio
      • TTS(Text to Speech)
      • Model(Create Voice)
      • Model(Obtain Voice)
      • Model(Delete Voice)
      • Model(Update Voice)
      • Model(Get Voice List)
    • Minimax
      • T2A(Async extra content generation)
      • T2A(Status Inquiry)
      • T2V(Create Voice)
      • Files(Audio File Download)
      • Music_Upload(Upload original music)
      • Music Generation API
      • T2A (voice generation-synchronization)
    • Dubbingx
      • TTS(Text to Speech)
      • GetTTSList(Get Voice List)
      • GetTTSTask(Get Task Status)
      • Analyze(emotions)
    • Udio
      • Generate(Music Generation)
      • Generate(Music Continuation)
      • Query
    • Elevenlabs
      • Speech-to-text(Speech-to-Text)
      • Speech-to-text(Asynchronously fetch results)
      • TTS-Multilingual-v2(Text-to-Speech)
      • TTS-Multilingual-v2(Asynchronous result retrieval)
      • TTS-Flash-v2.5(Text-to-Speech)
      • TTS-Flash-v2.5(Asynchronous result retrieval)
    • Mureka
      • Upload Music
      • Generate Lyrics from a Prompt
      • Continue writing lyrics from existing lyrics
      • Generate a Song from Lyrics
      • Retrieve the Generated Song
      • Separate Music Stems
      • Generate Instrumental Music Track
      • Retrieve Instrumental Music Track
      • Text-to-Speech
      • Create Podcast Audio
    • SiliconFlow
      • Upload reference audio
      • Delete reference audio
      • Create speech-to-text request
      • Create text-to-speech request
    • Google
      • Text-to-Speech
      • gemini-2.5-flash-preview-tts
      • gemini-2.5-pro-preview-tts
    • Chanjing
      • Create a language generation task
      • Retrieve speech synthesis results
      • Create a voice customization task
      • Retrieve voice customization results
      • Delete customized voice
  • Information Processing
    • Unified Search API
      • Unified Search API
    • 302.AI
      • Admin Dashboard
        • Balance(Account balance)
        • Price(Get API Pricing)
        • Retrieve User API Keys List Data
        • Retrieve Data for Specified API Key
        • Create API Key
        • Update API Key
        • Delete API Key
      • 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
        • Parsing
        • Upload-File
        • Markitdown (File conversion to md format)
      • Code execution
        • Virtual Machine Sandbox
          • One-click Code Execution
          • Create Sandbox
          • Query Your Sandbox List
          • Destroy Sandbox
          • Run-Code
          • Run Command Line
          • Query File Information at Specified Path
          • Import File Data into Sandbox
          • Export Sandbox Files
        • Static Sandbox
          • Run-Code
      • Remote Browser
        • Create Browser Automation Task
        • Query Browser Task Status
      • Paper2Code
        • Create Paper2Code Task
        • Query Paper2Code Task
    • Tavily
      • Search
      • Extract
    • SearchAPI
      • Search
      • Search(News)
      • Search(Images)
      • Search(Lens)
      • Search(Videos)
      • Search(Scholar)
      • Search(Patents)
    • Search1API
      • Search
      • News
      • Crawl
      • Sitemap(Site Map)
      • Trending (Popular Trends)
    • Exa
      • Search
      • Contents(Get content)
      • Answer
    • Bocha AI
      • Web-search
      • Ai-search
    • Doc2x
      • Version 2
        • PDF(Upload - Asynchronous)
        • Status(View Status)
        • Parse(Request Export File - Asynchronous)
        • Result(exported results)
      • Version 1 (Deprecated)
        • PDF(PDF-to-MD)
        • PDF-Async
        • IMG-to-MD
        • IMG-Async
        • Status
        • Export
    • Glif
      • Glif(Bot)
    • Jina
      • Reader(Web Page to Markdown)
      • Search
      • Grounding(Verification of Facts)
      • Classify
    • DeepL
      • Chat(Translate into English)
      • Chat(Translate into Chinese)
      • Chat(Translate into Japanese)
      • Translate(Translate into various language)
    • RSSHub
      • RSSHub
    • Firefly card
      • saveImg(Card Generation)
    • Youdao
      • Youdao(Youdao Translate)
    • Mistral
      • OCR(PDF Parsing)
    • Firecrawl
      • Scrape
      • Batch Scrape
      • Get Batch Scrape Status
      • Get Batch Scrape Errors
      • Map
      • Search
  • RAG-related
    • OpenAI
      • Embeddings
    • Jina
      • Embeddings
      • Rerank
      • Rerank(Multimodal Reordering)
      • Tokenizer
    • China Model
      • Embeddings(Zhipu)
      • Embeddings(BAAI)
      • Embeddings(Baichuan AI)
      • Embeddings(Youdao)
      • Rerank(Youdao)
      • Rerank(BAAI)
    • 302.AI
      • Chat(with KB)
      • Chat(with KB-OpenAI compatible)
      • Create(Knowledge Base)
      • Delete(Knowledge Base)
      • Upload
      • List(KB)
      • Info
      • Meta-Chunking(Text LLM slices)
      • Meta-Chunking(File LLM slices)
  • Tools API
    • AI Video Creation Hub
      • Scripts(Generate Video Content Copy)
      • Terms(Generate Video Material Search Keywords)
      • Videos(Create Video Material Generation Task)
      • Tasks(Get Video Task Progress)
    • AI Paper Writing
      • CO-STORM
        • Create generate article task
        • Continue to generate dialogue interfaces
        • Update article content interface
        • Get article information
      • Asynchronous Paper Generate
      • Fetch
    • AI Podcast Production
      • Asynchronous Generate Podcast Transcripts
      • Check the status of podcast text generation task
      • Asynchronously Generate Podcast Audio
      • Check the status of podcast audio generation task
    • AI Writing Assistant
      • Get Tools‘ List
      • Generate Copywriting
    • AI Video Real-Time Translation
      • Query Video Information
      • Video Download
      • Extract Audio from Video
      • Audio vocal separation and transcription
      • Subtitle Translation
      • Video Burning
      • Original sound clone
      • Query task status
    • AI Document Editor
      • Generate a long text outline
      • Generate article content
    • Web Data Extraction Tool
      • Generate Schema
      • Create an extraction task
      • Query extraction progress
    • AI Prompt Expert
      • Prompt Optimization
      • Image prompt generation
      • Create SPO Prompt Optimization Task
      • Query SPO Prompt Optimization Results
    • AI 3D Modeling
      • 3D model file type conversion
    • AI Search Master 3.0
      • AI Search
    • AI Vector Graphics Generation
      • SVG to video
    • Al Answer Machine
      • Answer
    • 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
      • arxiv Paper Search
      • Google Paper Search
    • One-Click Website Deployment
      • Create Hosted Webpage (Form Parameter API)
      • Create Hosted Webpage (JSON Parameter API)
      • Create Hosted Webpage (Binary Parameter API)
      • Query the List of Hosted Projects under an API Key
    • AI Avatar Maker
      • Generate Avatar (JSON Parameter Example)
      • Avatar Generation (form-data parameter example)
    • AI Card Generation
      • Generate Knowledge Card
      • Generate Poster
      • Generate philosophical cards
      • Generate philosophical quotation sayings
      • 生成知识卡片
    • AI Image Creative Station API
      • Creative Image Generation API Usage Instructions
      • Get Model List
      • Generate Creative Images
  • Help Center
    • HTTP Status Codes
    • List of supported languages for image translation
  1. Higgsfield

Soul(Text to Image)

POST
/higgsfield/text2image_soul
Text-to-image generation from higgsfield.ai, generating 4 images per request.
Price: 720p - 0.1 PTC per request
Price: 1080p - 0.2 PTC per request

Request

Header Params
Authorization
string 
optional
Example:
Bearer {{YOUR_API_KEY}}
Content-Type
string 
optional
Example:
application/json
Body Params application/json
quality
enum<string> 
required
Allowed values:
720p1080p
aspect_ratio
enum<string> 
required
Allowed values:
9:163:42:31:14:316:93:2
prompt
string 
required
enhance_prompt
boolean 
required
seed
integer 
required
style_id
string 
required
464ea177-8d40-4940-8d9d-b438bab269c7
GENERAL
https://cdn.higgsfield.ai/soul-style/671935ec-51a6-4f9d-9cb4-39661b9a9814.jpg
1b798b54-03da-446a-93bf-12fcba1050d7
iPhone
https://cdn.higgsfield.ai/soul-style/9627c330-e5e0-428d-8414-aeae83d57819.jpg
1cb4b936-77bf-4f9a-9039-f3d349a4cdbe
Realistic
https://cdn.higgsfield.ai/soul-style/acf8f24d-f567-4b7a-bede-aa63cb7c90dd.jpg
f96913e8-2fcf-4358-8545-75dd6c34c518
Bimbocore
https://cdn.higgsfield.ai/soul-style/fb283ea7-2fdb-4b50-acd3-f38d83d2c93e.jpg
6b9e6b4d-325a-4a78-a0fb-a00ddf612380
Y2K
https://cdn.higgsfield.ai/soul-style/75e73009-dd0c-4b9d-b0ef-93544b7e4491.jpg
4b66c2db-8166-4293-b1aa-5269c9effb07
Nail check
https://cdn.higgsfield.ai/soul-style/dc1274f0-b58d-4603-9f01-97337e512cac.jpg
cbefda85-0f76-49bd-82d7-9bcd65be00ca
Y2K posters
https://cdn.higgsfield.ai/soul-style/a8d0899d-ec67-49a4-af7f-5fcf0a8f27be.webp
96758335-d1d1-42b7-9c21-5ac38c433485
Gorpcore
https://cdn.higgsfield.ai/soul-style/fbbfa936-7e5e-44f4-ac9c-774b38967130.jpg
99de6fc5-1177-49b9-b2e9-19e17d95bcaf
Tokyo streetstyle
https://cdn.higgsfield.ai/soul-style/b8665543-a419-4fda-a8d0-b10f07b8c03d.jpg
34c50302-83ff-487d-b3a9-e35e501d80a7
PixeletedFace
https://cdn.higgsfield.ai/soul-style/6fccf8fa-0be9-4e0b-97d7-72d5360c5eaa.jpg
7696fd45-6e67-47d7-b800-096ce21cd449
Sitting on the street
https://cdn.higgsfield.ai/soul-style/e4cce90c-943a-45be-a324-0a92fe0fcb9d.jpg
71fecd8c-6696-42df-b5eb-f69e4150ca01
0.5 outfit
https://cdn.higgsfield.ai/soul-style/d014f6a2-792e-429b-b47a-33352ed95e2d.jpg
1fc861ed-5923-41a6-9963-b9f04681dddd
Medieval
https://cdn.higgsfield.ai/soul-style/6d384dd7-f756-41de-9628-06c6cb204423.jpg
0089e17c-d0f0-4d0c-b522-6d25c88a29fc
Japandi
https://cdn.higgsfield.ai/soul-style/c63129ae-e4db-4bdf-9617-f7201f4a4cd1.jpg
bd78cfc6-9b92-4889-9347-f21dbf0a269c
Coquette core
https://cdn.higgsfield.ai/soul-style/9ce0b7cb-2252-4047-8c9a-291a90395e66.jpg
d8a35238-ba42-48a0-a76a-186a97734b9d
Overexposed
https://cdn.higgsfield.ai/soul-style/e668934b-9b36-4263-86e0-cdd58f7c267b.jpg
ca4e6ad3-3e93-4e03-81a0-d1722d2c128b
DigitalCam
https://cdn.higgsfield.ai/soul-style/cdddcdd8-58a1-4e6c-8c6b-640e77e42b55.jpg
ba3d7634-447e-455c-98e3-63705d5403b8
Sand
https://cdn.higgsfield.ai/soul-style/665ca5a4-e1e7-4fed-8d53-01177ae0518d.jpg
30458874-d9c0-4d5a-b2b7-597e0eee2404
Shoe Check
https://cdn.higgsfield.ai/soul-style/55009845-16f0-43b0-a395-48c2bbe1f4d8.jpg
181b3796-008a-403b-b31e-a9b760219f17
2000s Cam
https://cdn.higgsfield.ai/soul-style/acc02fcd-ce68-4019-b517-089025455ed6.jpg
88126a43-86fb-4047-a2d6-c9146d6ca6ce
Duplicate
https://cdn.higgsfield.ai/soul-style/0f7a191d-93ea-40a5-ad16-ca2b85fdd753.jpg
5ad23bca-4a4b-4316-8c59-b80d7709d8ee
Help It's Too Big
https://cdn.higgsfield.ai/soul-style/0cf49423-523b-4e88-a775-4c216279849c.webp
f5c094c7-4671-4d86-90d2-369c8fdbd7a5
90s grain
https://cdn.higgsfield.ai/soul-style/a5c20546-38eb-4d61-8eb2-5290908d55bc.jpg
70fbb531-5ee2-492e-8c53-5dbd6923e8c2
Giant Accessory
https://cdn.higgsfield.ai/soul-style/f66daa40-480f-49f1-90ed-6b2af23a4554.jpg
9de8ed26-c8dd-413c-a5e3-47eec97bc243
RingSelfie
https://cdn.higgsfield.ai/soul-style/d5d6f14d-9ba1-4f29-96d9-792280f50782.jpg
ea6f4dc0-d6dd-4bdf-a8cf-94ed1db91ab2
HairClips
https://cdn.higgsfield.ai/soul-style/35a6bbaa-4332-4537-8fce-28012da558be.jpg
8dd89de9-1cff-402e-88a8-580c29d91473
0.5 selfie
https://cdn.higgsfield.ai/soul-style/add67dde-7dbf-4565-93e9-a9bb121e03b9.jpg
86fc814e-856a-4af0-98b0-d4da75d0030b
FashionShow
https://cdn.higgsfield.ai/soul-style/c056f71c-31c6-48f5-8d4c-b13bab458ede.jpg
62ba1751-63af-4648-a11c-711ac64e216a
Night Beach
https://cdn.higgsfield.ai/soul-style/270b4eb1-e9b1-4909-9f5e-50ce99697cc6.jpg
524be50a-4388-4ff5-a843-a73d2dd7ef87
Elevator Mirror
https://cdn.higgsfield.ai/soul-style/0139a8e4-eb76-474a-a13c-d764d38674d1.jpg
673cf0d4-c193-4fa2-8ad3-b4db4611e3ae
505room
https://cdn.higgsfield.ai/soul-style/293ed3aa-0d8e-4073-839a-d1698eafdf85.jpg
7df83cc9-1e13-4bd0-b6ff-1e6a456b9e5a
Eating Food
https://cdn.higgsfield.ai/soul-style/d58fc1ab-f332-4e9b-bdd3-257164e92930.jpg
53bdadfa-8eb6-4eaa-8923-ebece4faa91c
Rainy Day
https://cdn.higgsfield.ai/soul-style/dfa98f2e-9b22-4272-a030-a5296b3b9b6a.jpg
0fe8ad66-ff61-411f-9186-b392e140b18c
Foggy Morning
https://cdn.higgsfield.ai/soul-style/3cbfe1d2-421e-421a-b7bd-dbee471a1d65.jpg
0c636e12-3411-4a65-8d86-67858caf2fa7
Avant-garde
https://cdn.higgsfield.ai/soul-style/62cfc3fb-bb46-4977-9fbb-cee0b68504d4.jpg
0367d609-dfa1-4a81-a983-b2b19ecd6480
Tumblr
https://cdn.higgsfield.ai/soul-style/8d797478-cc70-47e1-9a35-242852667eb0.jpg
1900111a-4ce8-42a7-9394-7367f0e0385c
Through The Glass
https://cdn.higgsfield.ai/soul-style/c6ffc0df-5487-417b-82d9-2ec54d2aa122.jpg
83caff04-691c-468c-b4a0-fd6bbabe062b
Vintage PhotoBooth
https://cdn.higgsfield.ai/soul-style/e41faf36-e634-485d-be55-edcce8099043.jpg
cc4e7248-dcfe-4c93-b264-2ab418a7556b
Fisheye
https://cdn.higgsfield.ai/soul-style/cacbe40f-8551-481a-a8f3-57692fc4ba4d.webp
d24c016c-9fb1-47d0-9909-19f57a2830d4
Selfcare
https://cdn.higgsfield.ai/soul-style/6a5baf93-e0dc-4123-9f7b-868eab9b4e04.jpg
b7c621b5-9d3c-46a3-8efb-4cdfbc592271
Babydoll MakeUp
https://cdn.higgsfield.ai/soul-style/1d334a76-18b8-4d7e-9f77-1f3b5623d872.jpg
cc099663-9621-422e-8626-c8ee68953a0c
Bleached brows
https://cdn.higgsfield.ai/soul-style/aa99b83d-fe92-4542-8dab-b0c708d0cf30.jpg
294bb3ee-eaef-4d2a-93e3-164268803db4
360 cam
https://cdn.higgsfield.ai/soul-style/a8951200-becf-4fa3-b41b-3a58e7ebcd72.jpg
e454956b-caf2-4913-a398-dbc03f1cbedf
Office beach
https://cdn.higgsfield.ai/soul-style/71391c5d-1171-4b32-9c74-6e97413ab33c.jpg
5b6f467e-f509-4afe-a8db-4c07a6f3770d
Swords Hill
https://cdn.higgsfield.ai/soul-style/fe9aa7ca-01be-443f-be91-d55efb7691e7.jpg
dab472a6-23f4-4cf8-98fe-f3e256f1b549
Amalfi Summer
https://cdn.higgsfield.ai/soul-style/61d13bb8-fbe2-4816-8d2b-231e5ef68930.webp
ad9de607-3941-4540-81ea-ba978ef1550b
Grunge
https://cdn.higgsfield.ai/soul-style/dc742858-f56d-4fcc-9736-e7c2a3005b84.jpg
a2a42ada-75cc-42a9-be12-cb16c1dec2a8
Glazed doll skin makeup
https://cdn.higgsfield.ai/soul-style/3c0eb808-90bf-4c84-b6fa-caae44265ef3.jpg
82edba1e-b093-4484-a25e-9276e0454999
Invertethereal
https://cdn.higgsfield.ai/soul-style/5a70012c-02c4-45aa-934b-768587a2d0e4.jpg
12eda704-18e5-4783-aa0f-deba5296cc83
Long legs
https://cdn.higgsfield.ai/soul-style/5b1f7435-129c-4b79-a0ef-57753edebda2.jpg
5a72fec7-a12e-43db-8ef3-1d193b4f7ab4
Indie sleaze
https://cdn.higgsfield.ai/soul-style/3a5a91b6-330d-407e-8b55-c3900a95f0db.jpg
2fcf02e2-919a-4642-8b31-d58bde5e6bd9
Mixed Media
https://cdn.higgsfield.ai/soul-style/689b1bdc-4c2d-49f3-8b22-8d147f736125.webp
7fa63380-64b7-48b1-b684-4c9ef37560a9
Paper Face
https://cdn.higgsfield.ai/soul-style/51362a07-60b0-4270-9125-03dea74ed03e.webp
a5f63c3b-70eb-4979-af5e-98c7ee1e18e8
Giant People
https://cdn.higgsfield.ai/soul-style/b6552305-c29f-4f41-9252-49c5470b2b73.webp
facaafeb-4ab5-4384-92a1-b4086180e9ac
2000s Fashion
https://cdn.higgsfield.ai/soul-style/12160548-47c0-4652-9e2e-3fc9fb413d47.webp
ff1ad8a2-94e7-4e70-a12f-e992ca9a0d36
Quiet luxury
https://cdn.higgsfield.ai/soul-style/af2a00ab-3f9f-451b-8c0b-4abc81adb12a.webp
811de7ab-7aaf-4a6b-b352-cdea6c34c8f1
Movie
https://cdn.higgsfield.ai/soul-style/a8417fb3-3801-4e00-b86f-57a55d59eacd.webp
62355e77-7096-45ae-9bea-e7c5b88c3b70
Glitch
https://cdn.higgsfield.ai/soul-style/bed53d7d-3061-4666-bcd6-2ad890387f97.webp
b9e2d7dc-78e6-4f7d-95dd-b62690e7b200
Artwork
https://cdn.higgsfield.ai/soul-style/40243714-8b1c-44bc-87f2-ef3aacc2daf9.webp
0b4dac9a-f73a-4e5b-a5a7-1a40ee40d6ac
Graffiti
https://cdn.higgsfield.ai/soul-style/65d773e0-b947-4edc-982e-493ce1f04dc3.webp
673cf0d4-c193-4fa2-8ad3-b4db4611e3ae
505room
https://cdn.higgsfield.ai/soul-style/293ed3aa-0d8e-4073-839a-d1698eafdf85.jpg
7df83cc9-1e13-4bd0-b6ff-1e6a456b9e5a
Eating Food
https://cdn.higgsfield.ai/soul-style/d58fc1ab-f332-4e9b-bdd3-257164e92930.jpg
53bdadfa-8eb6-4eaa-8923-ebece4faa91c
Rainy Day
https://cdn.higgsfield.ai/soul-style/dfa98f2e-9b22-4272-a030-a5296b3b9b6a.jpg
0fe8ad66-ff61-411f-9186-b392e140b18c
Foggy Morning
https://cdn.higgsfield.ai/soul-style/3cbfe1d2-421e-421a-b7bd-dbee471a1d65.jpg
0c636e12-3411-4a65-8d86-67858caf2fa7
Avant-garde
https://cdn.higgsfield.ai/soul-style/62cfc3fb-bb46-4977-9fbb-cee0b68504d4.jpg
0367d609-dfa1-4a81-a983-b2b19ecd6480
Tumblr
https://cdn.higgsfield.ai/soul-style/8d797478-cc70-47e1-9a35-242852667eb0.jpg
1900111a-4ce8-42a7-9394-7367f0e0385c
Through The Glass
https://cdn.higgsfield.ai/soul-style/c6ffc0df-5487-417b-82d9-2ec54d2aa122.jpg
83caff04-691c-468c-b4a0-fd6bbabe062b
Vintage PhotoBooth
https://cdn.higgsfield.ai/soul-style/e41faf36-e634-485d-be55-edcce8099043.jpg
cc4e7248-dcfe-4c93-b264-2ab418a7556b
Fisheye
https://cdn.higgsfield.ai/soul-style/cacbe40f-8551-481a-a8f3-57692fc4ba4d.webp
d24c016c-9fb1-47d0-9909-19f57a2830d4
Selfcare
https://cdn.higgsfield.ai/soul-style/6a5baf93-e0dc-4123-9f7b-868eab9b4e04.jpg
b7c621b5-9d3c-46a3-8efb-4cdfbc592271
Babydoll MakeUp
https://cdn.higgsfield.ai/soul-style/1d334a76-18b8-4d7e-9f77-1f3b5623d872.jpg
cc099663-9621-422e-8626-c8ee68953a0c
Bleached brows
https://cdn.higgsfield.ai/soul-style/aa99b83d-fe92-4542-8dab-b0c708d0cf30.jpg
294bb3ee-eaef-4d2a-93e3-164268803db4
360 cam
https://cdn.higgsfield.ai/soul-style/a8951200-becf-4fa3-b41b-3a58e7ebcd72.jpg
e454956b-caf2-4913-a398-dbc03f1cbedf
Office beach
https://cdn.higgsfield.ai/soul-style/71391c5d-1171-4b32-9c74-6e97413ab33c.jpg
5b6f467e-f509-4afe-a8db-4c07a6f3770d
Swords Hill
https://cdn.higgsfield.ai/soul-style/fe9aa7ca-01be-443f-be91-d55efb7691e7.jpg
dab472a6-23f4-4cf8-98fe-f3e256f1b549
Amalfi Summer
https://cdn.higgsfield.ai/soul-style/61d13bb8-fbe2-4816-8d2b-231e5ef68930.webp
ad9de607-3941-4540-81ea-ba978ef1550b
Grunge
https://cdn.higgsfield.ai/soul-style/dc742858-f56d-4fcc-9736-e7c2a3005b84.jpg
a2a42ada-75cc-42a9-be12-cb16c1dec2a8
Glazed doll skin makeup
https://cdn.higgsfield.ai/soul-style/3c0eb808-90bf-4c84-b6fa-caae44265ef3.jpg
82edba1e-b093-4484-a25e-9276e0454999
Invertethereal
https://cdn.higgsfield.ai/soul-style/5a70012c-02c4-45aa-934b-768587a2d0e4.jpg
12eda704-18e5-4783-aa0f-deba5296cc83
Long legs
https://cdn.higgsfield.ai/soul-style/5b1f7435-129c-4b79-a0ef-57753edebda2.jpg
5a72fec7-a12e-43db-8ef3-1d193b4f7ab4
Indie sleaze
https://cdn.higgsfield.ai/soul-style/3a5a91b6-330d-407e-8b55-c3900a95f0db.jpg
2fcf02e2-919a-4642-8b31-d58bde5e6bd9
Mixed Media
https://cdn.higgsfield.ai/soul-style/689b1bdc-4c2d-49f3-8b22-8d147f736125.webp
7fa63380-64b7-48b1-b684-4c9ef37560a9
Paper Face
https://cdn.higgsfield.ai/soul-style/51362a07-60b0-4270-9125-03dea74ed03e.webp
a5f63c3b-70eb-4979-af5e-98c7ee1e18e8
Giant People
https://cdn.higgsfield.ai/soul-style/b6552305-c29f-4f41-9252-49c5470b2b73.webp
facaafeb-4ab5-4384-92a1-b4086180e9ac
2000s Fashion
https://cdn.higgsfield.ai/soul-style/12160548-47c0-4652-9e2e-3fc9fb413d47.webp
ff1ad8a2-94e7-4e70-a12f-e992ca9a0d36
Quiet luxury
https://cdn.higgsfield.ai/soul-style/af2a00ab-3f9f-451b-8c0b-4abc81adb12a.webp
811de7ab-7aaf-4a6b-b352-cdea6c34c8f1
Movie
https://cdn.higgsfield.ai/soul-style/a8417fb3-3801-4e00-b86f-57a55d59eacd.webp
62355e77-7096-45ae-9bea-e7c5b88c3b70
Glitch
https://cdn.higgsfield.ai/soul-style/bed53d7d-3061-4666-bcd6-2ad890387f97.webp
b9e2d7dc-78e6-4f7d-95dd-b62690e7b200
Artwork
https://cdn.higgsfield.ai/soul-style/40243714-8b1c-44bc-87f2-ef3aacc2daf9.webp
negative_prompt
string 
required
Example
{
    "quality": "1080p",
    "aspect_ratio": "16:9",
    "prompt": "a dog",
    "enhance_prompt": true,
    "seed": 38459,
    "style_id": "7696fd45-6e67-47d7-b800-096ce21cd449",
    "negative_prompt": ""
}

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/higgsfield/text2image_soul' \
--header 'Authorization: Bearer sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz' \
--header 'Content-Type: application/json' \
--data-raw '{
    "quality": "1080p",
    "aspect_ratio": "16:9",
    "prompt": "a dog",
    "enhance_prompt": true,
    "seed": 38459,
    "style_id": "7696fd45-6e67-47d7-b800-096ce21cd449",
    "negative_prompt": ""
}'

Responses

🟢200成功
application/json
Body
code
integer 
required
data
object 
required
task_id
string 
required
Example
{
    "board_ids": [],
    "id": "higgsfield_472f8f0319ac",
    "result": null,
    "results": null,
    "status": "queued"
}
Modified at 2025-07-02 02:41:59
Previous
Create Image Generation Request
Next
Fetch (Retrieve task results)
Built with