Install
openclaw skills install @runapi-ai/runapi-seedreamGenerate and edit images with Seedream through RunAPI. Use when the user asks an agent to create, edit, or transform images with Seedream. Default to the RunAPI CLI for one-off generation; use SDKs only when the user is integrating RunAPI into an app or backend.
openclaw skills install @runapi-ai/runapi-seedreamGenerate and edit images with Seedream through RunAPI. The default path for one-off agent tasks is the runapi CLI; SDKs are for application integration.
runapi binary. For full CLI-specific agent guidance, see https://github.com/runapi-ai/cli-skill.runapi CLI as the production runtime integration layer.When integrating Seedream into an app, backend, worker, library, Rails service, Node service, Go service, webhook pipeline, or production workflow, start by checking the current SDK package and official usage. Confirm install commands, client methods (create, get, run), request fields, response shape, and error classes before using CLI help or raw HTTP examples. Use a RunAPI SDK package:
@runapi.ai/seedreamrunapi-ai/seedreamrunapi-seedreamgithub.com/runapi-ai/seedream-sdk/goThe runapi binary is the one-off and manual testing runtime dependency. For full CLI-specific agent guidance, see https://github.com/runapi-ai/cli-skill. Run runapi auth status first. For agents and headless runs, prefer RUNAPI_API_KEY or import it into saved config with printf '%s' "$RUNAPI_API_KEY" | runapi auth import-token --token -. Use runapi login only when the user explicitly wants interactive browser auth.
Inspect the available commands and request fields with CLI help:
runapi seedream --help
runapi seedream text-to-image --help
runapi seedream edit-image --help
Run a one-off task (synchronous — polls until the task completes):
runapi seedream text-to-image --input-file request.json
runapi seedream edit-image --input-file request.json
Submit asynchronously and poll separately:
runapi seedream text-to-image --async --input-file request.json
runapi seedream edit-image --async --input-file request.json
runapi wait <task-id> --service seedream --action text-to-image
Available commands: text-to-image, edit-image.
Common request shapes:
{
"model": "seedream-v4-text-to-image",
"prompt": "A precise product render of a glass teapot on white marble",
"aspect_ratio": "16:9",
"output_resolution": "2k",
"output_count": 3
}
{
"model": "seedream-v4-edit",
"prompt": "Place the logo on a blue outdoor cap",
"source_image_urls": ["https://cdn.runapi.ai/public/samples/image.jpg"],
"aspect_ratio": "1:1",
"output_resolution": "4k"
}
RunAPI-generated file URLs are temporary. Download and store generated images, videos, audio, or other files in your own durable storage within 7 days; do not treat returned URLs as long-term assets.