Skip to main content
POST
/
v1
/
images
/
seedreamv45
SeeDreamV4.5 Image Generation
curl --request POST \
  --url https://api.tensorslab.com/v1/images/seedreamv45 \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: multipart/form-data' \
  --form category=seedreamv45 \
  --form 'prompt=<string>' \
  --form batchsize=1 \
  --form resolution=2K \
  --form 'sourceImage=<string>' \
  --form 'imageUrl=<string>' \
  --form sourceImage.items='@example-file'
{
  "code": 1000,
  "msg": "Task created successfully",
  "data": {
    "taskid": "abcd_1234567890abcdef"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.tensorslab.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API Key authentication, please include the Authorization field in the request header

Body

multipart/form-data
category
string
default:seedreamv45

Category identifier, default is seedreamv45

prompt
string

Prompt (required)

batchsize
integer
default:1

Batch generation quantity, 1-15

Required range: 1 <= x <= 15
resolution
string
default:2K

Image resolution. Support formats: 1) Aspect ratio (9:16, 16:9, 3:4, 4:3, 1:1, 2:3, 3:2), 2) Resolution level (2K, 4K), 3) Specific dimensions (e.g., 2048x2048).

When specifying dimensions, the following constraints must be met:

  • Total pixels range: [3,686,400, 16,777,216] (e.g., from 2560x1440 to 4096x4096)

Example: 3750x1250 is valid (pixels: 4,687,500). 1500x1500 is invalid (pixels: 2,250,000, below minimum).

Example:

"2K"

sourceImage
file[]

Source image file

imageUrl
string

Source image URL

Response

200 - application/json

Request successful

General response

code
integer
required

Response status code: 1000=Success, 9999=Failure, 9000=Insufficient Credits

msg
string
required

Response message

data
object
required

General data response