Doubao
AICall ByteDance's Doubao model family through the Volcano Engine Ark data-plane API. Agents run Chinese-language generation and embeddings on a platform that already meets local data requirements.
What This Integration Enables
Doubao is ByteDance's model family, and the surface you actually build against is Volcano Engine Ark. That distinction is the whole reason this connector exists: Ark is a cloud data plane, not a chat product, and it behaves accordingly. There is no API-key-authenticated models endpoint, so the model field is free text taking either a Model ID or an Endpoint ID, and every model has to be activated in the Ark console before a call to it will work. Nothing here is discoverable at runtime. If your audience is in China and your content is Chinese, this is the connector you want. If you are looking for a drop-in replacement for a Western provider, the operational shape will surprise you, and it is better to learn that here than from a failed run.
What Ark gives an agent is genuinely broad. Chat Completion exposes full control over sampling, deep-thinking mode, reasoning effort, stop words, tool calling and JSON Schema structured output, while Send Prompt covers the one-shot case without assembling a message array. Analyze Images sends photos to a vision model for captioning, OCR-style extraction and visual question answering, with an analysis granularity setting that trades cost against detail. Create Embeddings handles Chinese and English text for vector search. Seedream generates images guided by up to fourteen reference images, and Seedance produces short video as an asynchronous task you submit and poll. Two constraints shape every flow built on this: streaming is never used, so each call returns one complete response, and generated image and video URLs expire twenty four hours after creation. Design for the expiry. It is the difference between an asset library and a folder of dead links.
Without FlowRunner
With FlowRunner
Use Case Scenarios
Product photos read into structured fields
Warehouse or supplier photos arrive without usable metadata. The agent passes each image to Analyze Images with a question that names the fields it needs, using the higher analysis granularity where small print matters, and gets back model, colourway, dimensions and any visible defect as text. Chat Completion with JSON Schema structured output turns that into a clean record, which is written to Airtable or straight onto the Magento product. Photos the model reads with low confidence are separated as automation exceptions and queued for a person rather than filed with a guess.
Chinese-language support answers grounded in your own documentation
Create Embeddings turns the Chinese product documentation into vectors, batched around four texts per call for throughput and kept inside the model's input limit, and the vectors go to Qdrant. When a question arrives, the agent embeds it, retrieves the matching passages, and answers with Chat Completion in deep-thinking mode for anything the retrieval step returned weakly. Tokenize Text runs first on long support threads to confirm the assembled context fits the window, which turns a class of runtime failures into a pre-flight check.
Campaign creative produced as a batch, released as a decision
A campaign is approved. The agent generates the still assets with Generate Image, passing the existing product photograph as a reference so the output stays recognisably the product, and using image-set mode to get a related series in one call rather than four uncorrelated ones. The set is posted for review. Only the video, which is the expensive and slow half, waits for authorisation. When it comes, the agent submits Create Video Generation Task, polls Get Video Generation Task until the status reads succeeded, and immediately copies the MP4 to S3 before the twenty four hour URL lapses.
Human-in-Loop Highlight
Ark's video pipeline is a one-way door, so the pause on this connector sits before the spend rather than after the output. Create Video Generation Task queues an asynchronous job and returns a task ID. The status vocabulary includes cancelled, but the connector exposes no cancel action, so once a batch of Seedance jobs is submitted, it runs. Add the twenty four hour expiry on the resulting MP4 URLs and an unattended overnight batch can be both fully paid for and fully worthless by the time anyone opens the channel. So the agent does everything up to the submit and then stops. It assembles the prompts, resolves the reference images, and prices the batch from the token counts it measured with Tokenize Text. Then it posts to the campaign owner: "Twelve Seedance clips ready to submit at the resolution and duration below. These cannot be cancelled once queued, and the output URLs expire twenty four hours after they complete. Submit now, submit at 08:00 local so somebody is here to collect them, or cut the list?" The owner answers, and the batch runs on their timing. That pause costs a minute and is the difference between human-in-the-loop and an expensive log entry.
Agent Capabilities
8 actionsChat
3- Chat Completion Sends a full message list to a Doubao model on Ark and returns the next assistant message. Gives complete control over sampling, deep-thinking mode, reasoning effort, stop words, tool calling and JSON Schema structured output. Streaming is never used, so the whole reply comes back in one response.
- Send Prompt Sends a single prompt and returns just the generated text, with no message array to assemble. Accepts an optional system instruction that sets the model's role and constraints, and exposes deep-thinking control. The reasoning trace, where the model produced one, is returned separately from the answer.
- Analyze Images Sends one or more images with a question to a Doubao vision model and returns a textual answer. Accepts public image URLs or data URIs, and trades cost against detail through the analysis granularity setting. Used for captioning, OCR-style extraction, quality checks and visual question answering.
Embeddings
1- Create Embeddings Converts Chinese or English texts into semantic vectors for vector search, clustering and retrieval flows. Each text stays within the model's input limit, and batching around four texts per call gives the best throughput.
Images
1- Generate Image Generates images from a text prompt with a Seedream model, optionally guided by up to fourteen reference images for image-to-image work and multi-image fusion. Supports resolution presets or explicit pixel dimensions, an image-set mode returning a related series in one call, prompt optimisation, and an optional AI-generated watermark. Generated URLs expire twenty four hours after creation.
Video
2- Create Video Generation Task Submits an asynchronous video generation job to a Seedance model from a text prompt and, optionally, a first frame, a last frame or up to nine reference images. Returns a task ID immediately. Resolution, aspect ratio and duration ranges vary by model, and the resulting video URL expires after twenty four hours.
- Get Video Generation Task Retrieves the current state of a video generation task and, once the status is succeeded, the MP4 URL plus the optional last-frame image. Statuses are queued, running, succeeded, failed, cancelled and expired. Only tasks from the last seven days can be queried.
Utilities
1- Tokenize Text Splits text into the tokens a Doubao model actually sees, returning the token count, the token IDs from the model vocabulary and the character offsets of each token. Used to estimate cost, to confirm a prompt fits the context window before sending it, or to build token IDs for a logit bias setting.
Frequently Asked Questions
What can FlowRunner do with Doubao?
FlowRunner agents can run Chat Completion, Send Prompt, and Analyze Images in Doubao, plus 5 more actions.
Does connecting Doubao to FlowRunner require OAuth?
No. Doubao connects to FlowRunner with an API key, no OAuth flow required.
Can Doubao trigger a FlowRunner workflow automatically?
Doubao doesn't currently expose triggers in FlowRunner. It connects as an action step inside workflows started by another trigger.
Start building with Doubao
$100 in credits. No card required. Connect in minutes.