Skip to content

Bytedance Seed 2.0 Mini

POST/v1/run

Seed V2 Mini by Bytedance - advanced AI model for llm. Delivers high-quality results with fast inference, suitable for both creative and production workflows.

Request body

Submit an async generation request. The model field selects the model; other fields are model-specific input parameters.

stringmodelrequired

Model identifier. Set to bytedance/seed/v2/mini.

Default: bytedance/seed/v2/mini

stringpromptrequired

The text prompt or question for the model.

Optional<array<string>>images

URLs of images for visual understanding. Supported formats: JPEG, PNG, WebP. A maximum of 6 images is supported. Any additional images will be ignored.

Optional<array<string>>videos

URLs of videos for video understanding. Supported formats: MP4, MOV. Audio comprehension is not supported. A maximum of 3 videos is supported. Any additional videos will be ignored.

Optional<number>temperature

Controls randomness in the response. Lower values make output more focused and deterministic, higher values make it more creative.

Range: 0 to 2

Default: 1

Optional<integer>max_completion_tokens

Controls the maximum length of the model's output, including both the model's response and its chain-of-thought content, measured in tokens.

Range: 1 to 65536

Default: 4096

Optional<array<object>>messages

Optional prior conversation history for multi-turn conversations. Pass back the `messages` field from a previous response to provide context. The current `prompt`, `image_urls`, `video_urls`, and `system_prompt` are always appended as the latest user turn.

Optional<string>thinking

Controls the model's chain-of-thought reasoning. `enabled` always includes reasoning, `disabled` never includes reasoning, `auto` lets the model decide based on the query.

Allowed values: enabled, disabled, auto

Default: enabled

Optional<number>top_p

Nucleus sampling parameter. The model considers tokens with top_p cumulative probability mass. Lower values narrow the token selection.

Range: 0 to 1

Default: 0.7

Optional<string>system_prompt

Optional system prompt to guide the model's behavior.

Optional<string>reasoning_effort

Controls the depth of reasoning before the model responds. Only applicable when `thinking` is `enabled` or `auto`. `minimal` for immediate response, `low` for faster response with light reasoning, `medium` for balanced speed and depth, `high` for deep analysis of complex issues.

Allowed values: minimal, low, medium, high

Response Schema

The submit endpoint returns an accepted generation task. Poll the result endpoint with the returned id for terminal outputs or errors.

Optional<string>error

Error message if the task failed. Empty on success.

stringidrequired

Unique identifier for the generation task.

Optional<string>model

Model ID used for the prediction.

Optional<array>outputs

Array of generated content. Empty when status is not completed.

stringstatusrequired

Status of the task: pending, running, completed, failed, or timeout.

Allowed values: pending, running, completed, failed, timeout

Model capabilities

array<string>capability_tagsrequired

Capabilities declared by the model registry.

Default: llm

stringexecution_moderequired

Execution mode declared by the model registry.

Default: async