Image
seedream-5-0-pro-nsfw API
Call seedream-5-0-pro-nsfw through Modelflare with the exact model ID shown on this page.
Use the exact model ID seedream-5-0-pro-nsfw. The model field must match this page exactly.
Authentication and endpoint
Section titled “Authentication and endpoint”Use a Modelflare API key with https://modelflare.dev/v1. The gateway entry point is POST /v1/images/generations.
Authorization: Bearer YOUR_MODELFLARE_API_KEYGenerate an image
Section titled “Generate an image”curl https://modelflare.dev/v1/images/generations \ -H "Authorization: Bearer YOUR_MODELFLARE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "seedream-5-0-pro-nsfw", "prompt": "A white cat runs through a neon-lit street in the rain", "size": "1024x1024", "n": 1 }'Request notes
Section titled “Request notes”Seedream uses the Images API request shape; the four generation/layer-decomposition prices for seedream-5-0-pro-nsfw are listed below.
Request parameters
Section titled “Request parameters”Seedream uses the Images API. Normal generation/editing uses prompt, image, and size; seedream-5-0-pro-nsfw also exposes layer_decomposition with the four quoted rows below.
| Field | Required | Notes |
|---|---|---|
model |
Yes | seedream-5-0-pro-nsfw |
prompt |
Conditional | Generation, editing, or layer-decomposition instruction |
image |
Conditional | One or more reference images (model-dependent limit) |
size |
No | 1K / 1.5K / 2K or documented pixel dimensions |
response_format |
No | url / b64_json |
output_format |
No | png / jpeg |
watermark |
No | Whether to add a watermark |
sequential_image_generation |
No | auto or disabled where supported |
layer_decomposition |
No | Pro only; split a source into background and transparent layers |
Response and input limits
Section titled “Response and input limits”URL responses are temporary and should be saved promptly; decode b64_json on the client. Pro layer_decomposition returns a background plus transparent layers and may include layer order, names, and bounds.
Four price specifications
Section titled “Four price specifications”| Operation | Size condition | Official list price | Customer price |
|---|---|---|---|
generation |
≤1.5K | $0.045 | $0.04095 |
generation |
>1.5K | $0.09 | $0.0819 |
layer_decomposition |
≤1.5K | $0.0225 | $0.020475 |
layer_decomposition |
>1.5K | $0.045 | $0.04095 |
Layer-decomposition example (only seedream-5-0-pro-nsfw)
curl https://modelflare.dev/v1/images/generations \ -H "Authorization: Bearer YOUR_MODELFLARE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "seedream-5-0-pro-nsfw", "image": "https://example.com/source.png", "layer_decomposition": true, "size": "1.5K", "response_format": "url", "output_format": "png" }'The data[] response contains the background and extracted transparent layers; billing follows the matching layer_decomposition row below.
Supported scope
Section titled “Supported scope”This page covers Modelflare model generation and editing calls. Search or map enrichment, voice management, and element-library management are resource APIs outside this public model-call surface and are not required request fields.
Pricing and billing
Section titled “Pricing and billing”This model uses per-image billing. See the model pricing page for the current customer price, reference list price, and complete specification.