wan2.7-image-pro-nsfw API
Call wan2.7-image-pro-nsfw through Modelflare with the exact model ID shown on this page.
wan2.7-image-pro-nsfw API
Call wan2.7-image-pro-nsfw through Modelflare with the exact model ID shown on this page.
Use the exact model ID wan2.7-image-pro-nsfw. The model field must match this page exactly.
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_KEY
Generate an image
curl https://modelflare.dev/v1/images/generations \
-H "Authorization: Bearer YOUR_MODELFLARE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan2.7-image-pro-nsfw",
"prompt": "A white cat runs through a neon-lit street in the rain",
"size": "1024x1024", "n": 1
}'
Request notes
OpenAI-compatible image models use prompt, n, size, and quality; use editing only when the official page documents it.
Request parameters
Wan2.7 Image uses the Images API. Use the flat OpenAI-compatible shape for simple calls; use input.messages plus parameters for multi-image, region editing, and sequential generation.
| Field | Required | Notes |
|---|---|---|
model |
Yes | wan2.7-image-pro-nsfw |
prompt |
Yes | Generation or editing instruction |
image |
No | Single image URL/Base64; use nested messages for multiple images |
size |
No | 1K / 2K; Pro text-to-image may support 4K |
n |
No | Output count; follow the official limit for sequential mode |
thinking_mode |
No | Thinking mode when no image is supplied |
watermark |
No | Whether to add a watermark |
parameters.prompt_extend |
No | Set false when this dedicated model contract requires it |
parameters.bbox_list |
No | Interactive editing region boxes |
parameters.enable_sequential |
No | Enable sequential generation |
Response and input limits
Use the flat shape for simple calls; use input.messages and parameters for multi-image, region editing, and sequential generation. Output count, size, and region boxes must follow the model’s combination limits.
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
This model uses per-call billing. See the model pricing page for the current customer price, reference list price, and complete specification.
This page documents Modelflare’s public interface; the fields and limits shown here are the current contract.