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

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:seedreamv5

Category identifier, default is seedreamv5

prompt
string

Prompt (required)

batchsize
integer
default:1

Batch generation quantity, 1-15

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

Image resolution.

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