Apidot Seedream 4 Api
Use APIDot for Seedream 4 API workflows, including 4K image generation, image editing, image-to-image planning, reference image generation, async task submis...
Documentation & Preview
APIDot Seedream 4 Reference
This reference gives agents a safer, non-executable summary for APIDot Seedream 4 integration work. Use it to choose the right documentation path and request mode before opening the live APIDot docs or general examples.
It contains no shell commands, no runnable request examples, no bundled clients, and no stored credentials.
Source Of Truth
- Model page: https://apidot.ai/models/seedream-4
- API docs: https://apidot.ai/docs/seedream-4
- Quickstart: https://apidot.ai/docs/quickstart
- Webhooks: https://apidot.ai/docs/webhooks
- Main examples: https://github.com/APIDotAI/apidot-examples
Use the live APIDot docs for current model availability, supported fields, limits, and commercial terms.
Model Family
Seedream 4 on APIDot is for image generation and editing workflows that need prompt-driven visuals, reference image control, product scenes, marketing assets, or higher-resolution image planning when supported by the selected request mode.
Do not assume every image request mode is supported by every Seedream 4 model entry. Check the APIDot Seedream 4 docs before preparing a payload.
Request Planning
Before choosing a request shape, identify:
- Whether the user wants prompt-only generation, image editing, image-to-image, product visuals, marketing creative, or reference-guided generation.
- Whether source image URLs are involved, and whether the selected Seedream 4 model entry supports reference images.
- Desired aspect ratio, output size, and image count, if the current APIDot docs expose those controls.
- Whether the workflow should use polling for local testing or webhook delivery for production.
- Where the backend will persist
task_id, selected model, user ID, source media references, request status, and final image URLs.
For copyable request shapes, open the APIDot docs or general APIDot examples instead of recreating examples inside this skill.
Async Flow
APIDot Seedream 4 jobs follow the shared APIDot async generation flow:
- Choose the model entry and request mode from the live APIDot docs.
- Submit the job through the documented APIDot generation submit flow.
- Store
data.task_idbefore any retry, page transition, or status check. - Use task status polling for local tests and debugging.
- Use
callback_urlwebhook delivery for production jobs that may outlive the current browser session. - Treat webhook handlers as idempotent because duplicate delivery should not create duplicate visible results.
Implementation Notes
- Keep
APIDOT_API_KEYserver-side only. - Validate all source image URLs before submitting jobs that depend on references.
- Keep request status, selected model, prompt metadata, media references, and final image URLs together.
- Retry transient network failures with backoff. Do not retry invalid payloads unchanged.
- Avoid logging private prompts, private image URLs, callback URLs, API keys, or generated image URLs.
- Do not copy fields from another image model family unless the APIDot docs show the same field for Seedream 4.