1. Various plug-in/software usage tutorials
CheapAi Aggregation API
  • Api
    • CheapAI Aggregation API novice tutorial & calling documentation | Support online calling/CherryStudio and other open source software calling/code calling
    • Online debugging instructions
    • Make a request
    • CheapAI Aggregation API introduction and customer service customization
      • Introduction to AI interface aggregation management service
      • API Quick Start Guide
      • Group detailed table
      • Particularity of groupings and price differences
      • How to create a new token for a specified group
      • Agent interface calling address
      • API Key Quota Query Service
      • Free AI Chat Project Navigation
      • Contact customer service & enterprise university customization_WeChat
      • Invite friends to register and enjoy huge cashback
    • Common configuration for various plug-in software to call API
      • 1. Fill in the correct API interface address (it is recommended to test in order)
      • 2. Fill in the API key (token), usually starting with sk-
      • 3. Fill in the correct model name (including dialogue, pictures, music, video, etc.)
    • Various plug-in/software usage tutorials
      • CherryStudio configuration tutorial
      • CherryStudio calls CLUDE MCP
      • CherryStudio configures o4 inference level
      • Cherry Studio configuration banana raw image (4K resolution) tutorial
      • CherryStudio configures claude code, Gemini Cli, Opencode and other programming tools
      • chatgpt-web-mi (conversation, picture and video tool)
      • Claude Code installation and usage tutorial
      • ChatBox (supports mobile phones and computers)
      • SillyTavern configuration
      • Omate mobile terminal configuration tutorial
      • Dify configuration tutorial
      • n8n configuration tutorial
      • n8n workflow obtains local images and generates video examples
      • N8N workflow using transit API tutorial
      • Cursor configuration tutorial
      • cline configuration tutorial
      • immersive translation
      • Browser plug-in ChatGPT Sidebar
      • nextchat setup tutorial
      • CLAUDE DEV configuration tutorial
      • chatgpt-on-wechat configuration tutorial
      • aider configuration tutorial
      • lobechat setup tutorial
      • chatgpt GPT Academic academic optimization configuration gpt tutorial
      • zotero gpt configuration method
      • Open source gpt_academic
      • Gemini CLI transfer station configuration and usage tutorial
      • LangBot configuration tutorial
      • Codex configuration tutorial
      • RikkaHub configuration tutorial
      • Coze workflow using transit API tutorial
      • COZE workflow simple configuration from input to obtaining url
      • zed configuration tutorial
      • opencode configuration tutorial
      • OpenClaw latest version custom transfer station configuration tutorial
      • OpenClaw and CC switch custom transfer station configuration tutorial
    • Chat
      • ChatGpt interface
        • ChatGPT Audio (Audio)
          • GPT-4o-audio
          • Audio to text whisper-1
          • Audio to text gpt-4o-transcribe
          • Create speech gpt-4o-mini-tts
          • Create translation (not supported)
        • ChatGPT Chat (Chat)
          • Chat completion object
          • Chat completion block object
          • Create chat completion (streaming)
          • Create chat completion (non-streaming)
          • Create chat image recognition (streaming)
          • Create chat picture recognition (streaming) best64
          • Create chat image recognition (non-streaming)
          • Create a chat creation graph (non-streaming)
          • Official Function calling call
          • Official N test
          • List models
          • Create chat function call
          • Create structured output
          • Controlling inference model effort
          • Create chat completion qwen-mt-turbo
          • Create chat completion deepseek v3.1 thinking level (streaming)
          • deepseek-ocr recognition
        • ChatGPT automatic completion (Completions)
          • completion object
          • Creation completed
        • ChatGPT Embeddings
          • embedded object
          • Create embed
        • Web search
          • web search
      • Anthropic Claude interface
        • Chat completion object
        • Chat completion block object
        • native format
          • Create chat completion (streaming)
          • Create function calls (streaming)
          • Create formatted output
          • Create a Thought Chat
          • PDF support
          • PDF supports base64 format
          • Internet search
        • chat compatible format
          • Create a Thought Chat
          • Create chat completion (streaming)
          • Create chat completion (non-streaming)
          • Create chat image recognition (streaming)
          • Create chat image recognition (non-streaming)
      • Google Gemini interface
        • native format
          • text generation
          • text generation-stream
          • Text generation + thinking-flow
          • Image generation
          • Image generation gemini-2.5-flash-image
          • Image generation gemini-2.5-flash-image controls aspect ratio
          • Image generation gemini-3-pro-image-preview controls aspect ratio + clarity
          • Picture editing
          • Picture understanding
          • Formatted output
          • function call
          • Document understanding
          • URL context [native format]
          • code execution
          • google search
          • video understanding
          • URL context
          • audio understanding
          • Embeddings
          • TTS text to speech
          • Text generation gemini-3-pro-preview:generateContent
          • Imagen generates images
          • gemini-tts text-to-speech
          • text embedding
        • chat compatible format
          • gemini image creation interface [chat compatible format]
          • Chat interface [chat compatible format]
          • Chat interface-Thinking 1 [chat compatible format]
          • Chat interface-Thinking 2 [chat compatible format]
          • Image recognition interface [chat compatible format]
          • Chat + read file interface [chat compatible format]
          • Text embedding [chat compatible format]
    • Chat(Responses)
      • Comparison between Responses API and Chat API
      • Create model response
      • Create function call
      • Create model response (streaming return)
      • Create model responses (control think length)
      • Create a web search
      • Create model responsive to gpt-5 enabled think
      • Create function call Copy
    • painting model
      • README
      • image object
      • Midjourney
        • Upload pictures
        • Submit Imagine task
        • Query task status based on task ID
        • Query tasks based on ID list
        • Get the seed of the task image
        • Execute Action
        • Submit Blend task
        • Submit Describe task
        • Submit Modal
      • Ideogram
        • Generate 3.0 (Vincent Chart)Generate
        • Generate 3.0 (Picture Editing)Edit
        • Generate 3.0 (Picture Remix) Remix
        • Generate 3.0 (image reconstruction) Reframe
        • Generate 3.0 (replace background) Replace Background
        • ideogram
        • Remix
        • Upscale (enlarge HD)
        • Describe
      • GPT Image Series
        • Create gpt-image-1
        • Edit gpt-image-1
        • Mask gpt-image-1
        • Create gpt-image-1.5
        • Edit gpt-image-1.5
        • Mask gpt-image-1.5
      • Grok Image Series
        • Create Image
        • edit image
      • DALL·E 3
        • Create DALL·E 3
      • FLUX series
        • gpt compatible format
          • Flux creation (OpenAI dall-e-3 format)
          • Flux editing (OpenAI dall-e-3 format)
        • Replicate official format
          • Flux resolution
          • Access tutorial
          • Create task black-forest-labs/flux-kontext-dev
          • Query tasks
      • Bean bag series
        • Create image
      • Fal.ai Platform
        • status code
        • Get request results
        • /fal-ai/nano-banana Wen Sheng Tu
        • /fal-ai/nano-banana/edit Image editing
      • Tencent AIGC raw pictures
        • status code
        • Get request results
        • Create task
      • Qwen series
        • qwen-image-max
        • z-image-turbo
        • qwen-image-edit-2509
    • video model
      • veo video generation
        • Video unified format
          • status code
          • Create video
          • Create videos with pictures
          • Query tasks
          • Create video (reference image)
        • OpenAI video format
          • openai creates videos with pictures
          • openai query task
          • openai download video
      • luma video generation
        • Official API format
          • status code
          • Submit video generation task
          • Extended video
        • Query tasks
          • Query a single task
          • Get tasks in batches
      • Runway video generation
        • status code
        • Submit video generation task
        • Query video tasks (free)
      • conch video generation
        • status code
        • Submit video generation task
        • Video task status query
        • tusheng video
        • First and last frame video
      • Doubao video generation
        • Create task
        • Query a single task
        • Query video generation task list-default
        • Query video generation task list - search multiple task IDs
        • seedance-1-5-pro-first and last frames
        • seedance-1-5-pro
      • sora video generation
        • Unified video format
          • Query tasks
          • Create videos with pictures sora-2
          • Create video sora-2
          • Create video sora-2-pro
          • Create video (with Character)
          • Create a role
        • chat format
          • Create video
          • Create videos, with pictures
          • Continuously modify and generate videos
        • OpenAI official video format
          • Create video
          • Create a character from an uploaded video
          • openai edit video
          • openai download video
          • openai query task
      • grok video generation
        • Video unified format
          • status code
          • Create video
          • Query tasks
      • Tongyi Wanxiang video generation
        • Generate video
        • Video query
      • Tencent AIGC video generation
        • status code
        • Create task
        • Get request results
        • Special effects template creation task
    • GPTs related
      • Introduction
      • GPTs conversation
    • System API
      • Get a list of tokens
      • Add new token
      • Get token support model
      • Get account information
      • modify token
      • search token
      • Get token usage
      • delete token
    • Vincent Music Suno
      • illustrate
      • parameter
      • Task submission
        • Generate songs (inspiration mode)
        • Generate songs (custom mode)
        • Generate songs (continuation mode)
        • Generate songs (singer style)
        • Generate songs (upload songs for secondary creation)
        • Generate songs (splicing songs)
        • Generate lyrics
        • song splicing
        • Report upload completed
        • Query upload processing status
        • Initialize audio files
        • Request upload authorization
        • s3 upload example
        • Scenario 1: Inspiration mode
        • Scene 2: Customized lyrics and song title
        • Scene 3: Pure music. Customized
      • Query interface
        • Get tasks in batches
        • Query a single task
        • Get wav
        • Timing: lyrics, audio timeline
        • Get scene details
    • Python configuration method
      • Python uses speech to text
      • Python uses text to speech
      • Python uses Embeddings vectorization
      • python calls DALL·E
      • python simple call openai function-calling demo
      • python simple langchain calls openai demo
      • python llama_index configuration
      • Python basic conversation
      • Python uses gpt-4o to identify pictures-local pictures
      • Python uses gpt-4o to identify images
      • Python uses Claude to identify images
      • python library streaming output
      • gpt realtime model call
      • python request request streaming output demo
      • python uses gpt-image-1 to create and edit pictures
      • python openai official library (using AutoGPT, langchain, etc.)
      • python continuous dialogue
    • Rerank reranking model
      • Reorder
    • Kling platform
      • Callback protocol
      • Vincent Video
        • Vincent Video
        • Query task (single)
      • tusheng video
        • tusheng video
        • Query task (single)
      • Omni-Video
        • Omni-Video
        • Query task (single)
      • Multi-picture reference student video
        • Multi-picture reference student video
        • Query task (single)
      • Multimodal video editing
        • Initialize the video to be edited
        • Add video selection
        • Delete video selection
        • Preview selected video
        • multimodal video
        • Query task (single)
      • video extension
        • video extension
        • Query task (single)
      • video effects
        • video effects
        • Query task (single)
      • image generation
        • image generation
        • Query task (single)
      • Multiple reference pictures
        • Multiple reference pictures
        • Query task (single)
      • Omni-Image
        • Omni-Image
        • Query task (single)
      • Expand image
        • Expand image
        • Query task (single)
      • image recognition
        • image recognition
      • digital man
        • digital man
        • Query task (single)
      • Vincent sound effects
        • Vincent sound effects
        • Query task (single)
      • Video sound effects
        • Video sound effects
        • Query task (single)
      • speech synthesis
        • speech synthesis
      • virtual try on
        • virtual try on
        • Query task (single)
      • lip sync
        • face recognition
        • lip sync
        • Query task (single)
      • Custom sounds
        • Custom sounds
        • Query custom timbre (single)
        • Check official sounds
        • Delete a custom sound
      • motion control
        • motion control
        • Query task (single)
      • main body
        • main body
    • Replicate aggregation platform
      • Access tutorial
      • Flux resolution
      • Query tasks
      • Create task - pass model version (predictions)
      • Create task stability-ai/stable-diffusion
      • Create task stability-ai/sdxl
      • Create task stability-ai/stable-diffusion-inpainting
      • Create task stability-ai/stable-diffusion-img2img
      • Create task lucataco/flux-schnell-lora
      • Create task lucataco/flux-dev-lora
      • Create task andreasjansson/stable-diffusion-animation
      • Create task sujaykhandekar/object-removal
      • Create task cjwbw/rembg
      • Create task lucataco/animate-diff
      • Create task ideogram-ai/ideogram-v2-turbo
      • Create task black-forest-labs/flux-kontext-dev
      • Create task minimax/video-01-live
      • Create task minimax/video-01
      • Create task recraft-ai/recraft-v3
      • Create task recraft-ai/recraft-v3-svg
      • Create task black-forest-labs/flux-1.1-pro-ultra
      • Create task black-forest-labs/flux-kontext-pro
      • Create task black-forest-labs/flux-kontext-max
      • Create task flux-kontext-apps/multi-image-kontext-max
      • Create task flux-kontext-apps/multi-image-kontext-pro
      • Create task lucataco/remove-bg
      • Create task riffusion/riffusion
      • Create task black-forest-labs/flux-fill-dev
      • Create task black-forest-labs/flux-fill-pro
      • Create task google/imagen-4-fast
      • Create task google/imagen-4-ultra
      • Create task google/imagen-4
      • Create task prunaai/vace-14b
      • Create task bytedance/seedream-4
    • Conch Minimax Platform
      • Create asynchronous speech synthesis task V2
      • Synchronous speech synthesis V2
      • Vincent Tusheng video generation task
      • Upload forked audio
      • Upload sample audio
      • Generate video from first and last frames
      • Quick sound reproduction
      • Query video generation task status
      • Retrieval (for video download, asynchronous audio download)
      • text synthesis
      • Query the speech generation task status
      • sound design
    • Official VIDU video generation, picture generation, audio generation
      • status code
      • Create a Vincent video task
      • Create Tusheng video task
      • Create an image generation task
      • Create a Vincent audio task
      • speech synthesis
      • Create a reference student video task
      • Create a video task for generating first and last frames
      • Get request results
    • Fal-ai aggregation platform
      • Access tutorial
      • falai-veo3 video generation
        • /fal-ai/veo3
        • /fal-ai/veo3/fast/image-to-video
        • /fal-ai/veo3/fast
        • /fal-ai/veo3/requests/{request_id}
        • /fal-ai/veo3/image-to-video
      • Get request results
      • /fal-ai/flux-1/dev
      • /fal-ai/flux-1/dev/image-to-image
      • /fal-ai/flux-1/dev/redux
      • /fal-ai/flux-1/schnell/redux
      • /fal-ai/flux-pro/kontext
      • /fal-ai/flux-pro/kontext/text-to-image
      • /fal-ai/flux-pro/kontext/max
      • /fal-ai/flux-pro/kontext/max/multi
      • /fal-ai/wan/v2.2-a14b/image-to-image
      • /fal-ai/bytedance/seedream/v4/text-to-image
      • /fal-ai/bytedance/seedream/v4/edit
      • /fal-ai/vidu/reference-to-image
      • /fal-ai/imagen4/preview
      • /fal-ai/qwen-image-edit-lora
      • /fal-ai/qwen-image-edit-plus
      • /fal-ai/kling-video/v2.5-turbo/pro/text-to-video
      • /fal-ai/kling-video/v2.5-turbo/pro/image-to-video
      • /fal-ai/flux-lora
      • /fal-ai/flux-lora/image-to-image
      • /fal-ai/flux-lora/inpainting
      • /fal-ai/kling-video/v2.5-turbo/pro/text-to-video
      • /fal-ai/qwen-image-edit-lora
    • php configuration method
      • PHP image editing demo
    • nodejs configuration method
      • nodejs basic conversation
    • Help Center
      • AI return field: Thinking related
      • HTTP status codes and their meanings
      • Self-built image bed API
      • Upload pictures to picture bed
  1. Various plug-in/software usage tutorials

COZE workflow simple configuration from input to obtaining url

If you are a Kouzi VIP, you can directly download the workflow and import it.#

https://wwaod.lanzn.com/b011lwl8ij
Password:3qnp

Taking sora2 as an example, a simple circular workflow from inputting text and uploading images to finally obtaining the URL (the following is the overall picture)#

Enterprise WeChat screenshot_17677735722402.png

1. Start#

Add new input variables based on prompt words and pictures, and according to the parameters required by the interface. If you need to enter more parameters, you can also add them.
Enterprise WeChat screenshot_1767773636845.png

2. Request model (new http node)#

Configure http request according to documentation
1.
Configure the request method and url in the first red box position
2.
The second red box configures the request header
3.
Configure the request body in the third place. Please select the format according to the corresponding request body in the document. In this example, json is used. The parameters marked with the beginning are the parameters obtained from the previous input. You can select it by directly entering {} in the editor.
Enterprise WeChat screenshot_17677740268061.png

3. Process the request result and obtain taskId (new code node)#

As shown in the figure, when inputting, the variable value directly obtains the previous output body.
Use code to parse the body to obtain the id (in this example, the code is JavaScript. The code is as follows)
async function main({ params }: Args): Promise<Output> {
    // 1. Get the body string from params.input
    // Note: This assumes that params.input is the entire HTTP response object
    const bodyStr = params.input;

    // 2. Parse the body in string format into a JSON object
    // Because the value of body is a string "{\"id\":...}", JSON.parse is required
    let taskId = "";
    try {
        const bodyObj = JSON.parse(bodyStr);
        taskId = bodyObj.id;
    } catch (e) {
        // Prevent parsing failure from causing runtime errors
        console.log("JSON parsing failed:", e);
    }

    // 3. Construct the output object and return taskId
    const ret = {
        "taskId": taskId
    };

    return ret;
}
The variable name of the final output position must be consistent with the parameter name in ret in the code.
Enterprise WeChat screenshot_17677742429398.png

4. Loop request query interface to obtain url (new loop node)#

1. Set the loop (in this example, an infinite loop is used to jump out of the loop based on judgment conditions) Set as needed#

The intermediate variable is the taskId output by the previous code node.
The url and status are output
Enterprise WeChat screenshot_17677745518897.png

2. Add an http node request query task in the loop#

The parameter request body is based on the query task of the model used in the document.
Enterprise WeChat screenshot_17677753812075.png

3. Add a new code node to obtain the URL and task status#

As shown in the figure, the input is the output body code of the query task as follows:
async function main({ params }: Args): Promise<Output> {
    // 1. Get the body string from params.input
    const bodyStr = params.input;

    // 2. Parse the body in string format into a JSON object
    let url = "";
    let status = "";
    try {
        const bodyObj = JSON.parse(bodyStr);
        url = bodyObj.video_url;
        status = bodyObj.status;
    } catch (e) {
        // Prevent parsing failure from causing runtime errors
        console.log("JSON parsing failed:", e);
    }

    // 3. Construct the output object and return taskId
    const ret = {
        "url": url,
        "status": status
    };

    return ret;
}
Enterprise WeChat screenshot_17677755174326.png

4. Add a new judgment node to judge whether the query obtains the url#

In this example, the judgment node sets two branches. The first branch is to obtain the url output by the previous code node to judge whether it is empty.
The second branch is to determine whether the status is failure
Enterprise WeChat screenshot_17677757634138.png

5Execute based on the judgment result#

Add a new node to terminate the loop. The loop will be terminated when the first judgment of the judgment node is successful or the second judgment is successful.
Add a new timer node and a continuous loop node. When both judgments of the judgment node are negative, the timer is executed first (to prevent the number of concurrent requests from causing request failure. It is recommended to set it to 1500ms). After the timer, the connection continues to loop.
Enterprise WeChat screenshot_17677758794115.png
5.
Process the results obtained from the loop (add a new code node)
Because the result obtained after the loop is an array that needs to be processed to only obtain the final output result (the code is as follows)
The input is the result of the loop output
async function main({ params }: Args): Promise<Output> {

    // Get input
    const urls = params.urls;
    const statuses = params.statuss;

    // 3. Construct the output object and return taskId
    const ret = {
        "url": urls[urls?.length -1],
        "status": statuss[statuss?.length -1]
    };

    return ret;
}
The output is the processed url and status
Enterprise WeChat screenshot_17677761996893.png

6. Determine whether the url has a value to determine whether the video generation is successful or failed.#

Enterprise WeChat screenshot_17677764885854.png

7. Final output result#

As shown in the figure, output the success and failure results and then end. You can change the output text to a variable according to your own needs, or you can put the output results in the end node for output.
Enterprise WeChat screenshot_17677765862529.png
Enterprise WeChat screenshot_17677765941365.png

#

8. Realize the effect#

Enterprise WeChat screenshot_17677770925315.png
Modified at 2026-03-21 09:13:17
Previous
Coze workflow using transit API tutorial
Next
zed configuration tutorial
Built with