Tasks
Generate an image from text (seedream-5.0-pro-spicy)
Uncensored Pro-tier high-resolution text-to-image generation (2K/3K/4K). Async: returns a task (202); poll GET /v1/tasks/{id} or await your webhook until a terminal status.
post/v1/seedream-5.0-pro-spicy/text-to-image
Request
- Base URL: https://api.hotapi.ai
- URL: https://api.hotapi.ai/v1/seedream-5.0-pro-spicy/text-to-image
- Auth: HTTP bearer
Query parameters
webhookstring uri
Public HTTPS callback URL for the signed terminal task event. Private addresses and redirects are not supported. Deliveries use the organization's webhook signing secret.
Headers
idempotency-keystring
Stable key for one logical submission. Reuse it only when retrying the identical model and input.
Request body
Example request
{
"prompt": "a mountain lake at sunrise, wide cinematic shot"
}Response
An async task. Creation returns 202 with status=queued; poll GET /v1/tasks/{id} (or await the webhook) until a terminal status.
Example response
{
"id": "task_8sd9f7aQ2",
"model": "z-image-spicy",
"task_kind": "image.generate",
"error": {
"type": "provider_error",
"code": "generation_failed",
"message": "Generation failed"
},
"estimated_credits_cost": 26,
"api_key_id": "ak_8sd9f7aQ2"
}Changes
No recorded changes to this operation across all 1 revision of this API.