Generate images from text prompts with Wan 2.7 Image. Configure aspect ratio, resolution, sequential output, palette, seed, and optional content safety checks.
Developer API pricing
Provider: SeeAPI
USD estimate: $0.0037 / credit · Estimated equivalent, not an additional charge.
Price: 7 credits/gen (≈ $0.026/gen)
After submitting a task, use the unified query endpoint to check progress and retrieve results:
Manage the secret used to verify generation webhook signatures. Callback URLs are supplied when you create each generation.
Callback URL per generation.
/v1/generationsA unique key for this generation request. Reuse the same value only when retrying the identical request body.
order-20260818-001The public model ID documented on this page. Use wan-2-7-image for this Endpoint.
wan-2-7-imagewan-2-7-imagewan-2-7-imageThe public Endpoint ID for the selected model. Use the Endpoint whose input schema matches this request.
text-to-imagetext-to-imagetext-to-imageOptional public Provider ID. Omit this field to use the Endpoint's default Provider.
seeapiseeapiseeapiProvider-specific input object. Its accepted fields and validation rules depend on the selected provider.
Provider parameters
seeapiDefault ProviderDescribe the content to generate, including the subject, scene, action, visual style, camera behavior, and other important details.
A cinematic city at nightSelect the width-to-height ratio of the generated output.
1:116:94:321:93:49:168:11:81:1Select the requested output resolution.
1K2K2KWhether to generate outputs as a connected sequence when sequential generation is supported.
falseNumber of outputs requested from this generation task.
4Select the Provider-supported planning or reasoning mode used before producing the result.
falsePreferred color palette for the generated output.
[{"hex":"#FF5733","ratio":"33.33%"},{"hex":"#33FF57","ratio":"33.33%"},{"hex":"#3357FF","ratio":"33.34%"}]Optional random seed used to make generation behavior more reproducible. Reusing a seed does not guarantee identical output across Provider or model revisions.
Enable SeeAPI's upstream NSFW checker for this request.
falseOptional absolute HTTPS URL that receives terminal generation updates. If omitted, query the task-details endpoint with the returned generation ID.
https://client.example.com/webhooks/seeapitask_xxxwan-2-7-imagetext-to-imageseeapiseeapi: SeeAPIseeapiprocessingprocessingEstimated public credits. Values can include up to three decimal places.
7Consumed public credits, with up to three decimal places.
0Refunded public credits, with up to three decimal places.
02026-08-18T10:00:00Z2026-08-18T10:00:00ZWhether this response is an idempotent replay of an earlier request.
falsetask_xxxwan-2-7-imagetext-to-imageseeapiseeapi: SeeAPIseeapiprocessingprocessingEstimated public credits. Values can include up to three decimal places.
7Consumed public credits, with up to three decimal places.
0Refunded public credits, with up to three decimal places.
02026-08-18T10:00:00Z2026-08-18T10:00:00ZWhether this response is an idempotent replay of an earlier request.
falseInvalid JSON, parameters, Schema, or API Policy
Invalid API Key or authentication failed
Insufficient credits
The current request is not allowed
Model, Endpoint, or task not found
Idempotency conflict or the same request is still being created
Request body is too large
Too many requests
Service temporarily unavailable
const response = await fetch("https://api.seeapi.com/v1/generations", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Idempotency-Key": "order-20260818-001",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "wan-2-7-image",
"endpoint": "text-to-image",
"provider": "seeapi",
"input": {
"prompt": "A cinematic city at night",
"aspect_ratio": "1:1",
"resolution": "2K",
"enable_sequential": false,
"n": 4,
"thinking_mode": false,
"color_palette": [
{
"hex": "#FF5733",
"ratio": "33.33%"
},
{
"hex": "#33FF57",
"ratio": "33.33%"
},
{
"hex": "#3357FF",
"ratio": "33.34%"
}
],
"nsfw_checker": false
},
"callback_url": "https://client.example.com/webhooks/seeapi"
})
});
const result = await response.json();{
"generation": {
"id": "task_xxx",
"model": "wan-2-7-image",
"endpoint": "text-to-image",
"provider": "seeapi",
"status": "processing",
"estimated_credits": 7,
"consumed_credits": 0,
"refunded_credits": 0,
"created_at": "2026-08-18T10:00:00Z",
"updated_at": "2026-08-18T10:00:00Z"
},
"idempotent": false
}