Uploads an image to the server. Image requirements: maximum dimensions 4000*4000 pixels, file size less than 20MB. Supported formats: "png", "webp", "jpeg", "jpg"
Request
Header Params
API-KEY
string
required
app-key from PixVerse platform
Ai-trace-id
string
required
traceID format: UUID, must be unique for each request
Example:
{{$string.uuid}}
Body Params multipart/form-data
image
file
optional
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://app-api.pixverse.ai/openapi/v2/image/upload' \
--header'API-KEY;' \
--header'Ai-trace-id: {{$string.uuid}}' \
--form'image=@""'