Currently runs Seedream 5.0 Pro under the hood. The bytedance/seedream-pro ID always tracks the latest Seedream Pro version available through Mynth. Pricing may be adjusted if a newer version is more expensive to serve.
See pricing & more on mynth.io.
Capabilities
| |
|---|
| Modes | Text-to-image · Image-to-image |
| Inputs | Up to 10 images (image-to-image) |
| Native auto size | No |
| Magic prompt | Improved (model-tuned) |
Magic prompt for this model is model-tuned for better results. Set magic_prompt: true to use
it.
Generate
import Mynth from "@mynthio/sdk";
const mynth = new Mynth();
const task = await mynth.image.generate({
prompt: "Editorial product photograph of a ceramic coffee set on a sunlit marble counter",
model: "bytedance/seedream-pro",
size: "landscape",
count: 1,
});
console.log(task.urls);
curl https://api.mynth.io/image/generate \
-X POST \
-H "Authorization: Bearer $MYNTH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Editorial product photograph of a ceramic coffee set on a sunlit marble counter",
"model": "bytedance/seedream-pro",
"size": "landscape",
"count": 1
}'
Pass up to 10 input images for image-to-image. URLs or uploaded files both work. See Upload input images.
const task = await mynth.image.generate({
prompt: "Restyle this photo as a cinematic still",
model: "bytedance/seedream-pro",
inputs: ["https://example.com/input-image.jpg"],
size: "landscape",
});
curl https://api.mynth.io/image/generate \
-X POST \
-H "Authorization: Bearer $MYNTH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Restyle this photo as a cinematic still",
"model": "bytedance/seedream-pro",
"inputs": [
{
"type": "image",
"source": { "type": "url", "url": "https://example.com/input-image.jpg" }
}
],
"size": "landscape"
}'
Magic prompt
Set magic_prompt: true to let Mynth rewrite your prompt before generation. This model has improved, model-tuned magic prompts.
const task = await mynth.image.generate({
prompt: "Editorial product photograph of a ceramic coffee set on a sunlit marble counter",
model: "bytedance/seedream-pro",
magic_prompt: true,
size: "landscape",
});
curl https://api.mynth.io/image/generate \
-X POST \
-H "Authorization: Bearer $MYNTH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Editorial product photograph of a ceramic coffee set on a sunlit marble counter",
"model": "bytedance/seedream-pro",
"magic_prompt": true,
"size": "landscape"
}'
See Control prompts.