- Image Translation
- Image AI Tools
- Create product image generation taskPOST
- Query product image generation taskPOST
- Create precise cutout taskPOST
- Query precise cutout taskPOST
- Create basic HD upscaling taskPOST
- Query basic HD upscaling taskPOST
- Create smart cutout taskPOST
- Query smart cutout taskPOST
- Create face swapping taskPOST
- Query face swapping taskPOST
- Create image upscaling taskPOST
- Query image upscaling taskPOST
- Create image variation taskPOST
- Query image variation taskPOST
- Text Service
- Video Translation
Create image variation task
POST
https://api.piclaza.com/task/v1/image/vary
Image
Last modified:2025-06-23 10:53:58
Request
Body Params application/json
image_url
string
optional
image_file_b64
string
optional
image_name
string
optional
grouping
boolean
optional
title
string
optional
source
enum<string> <enum>
optional
Allowed values:
unknownapiwebext
Example
{
"image_url": "string",
"image_file_b64": "string",
"image_name": "string",
"grouping": true,
"title": "string",
"source": "unknown"
}
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://api.piclaza.com/task/v1/image/vary' \
--header 'Content-Type: application/json' \
--data-raw '{
"image_url": "string",
"image_file_b64": "string",
"image_name": "string",
"grouping": true,
"title": "string",
"source": "unknown"
}'
Responses
🟢200OK
application/json
Body
code
integer <int32>
optional
message
string
optional
data
object
optional
results
array[object (ImageResponseResults) {4}]
optional
group
object
optional
Example
{
"code": 0,
"message": "string",
"data": {
"results": [
{
"code": 0,
"message": "string",
"task_id": "string",
"type": "string"
}
],
"group": {
"group_id": "string",
"user_id": "string",
"type": "string",
"source": "string",
"status": "string",
"title": "string",
"cover_image_url": "string",
"cover_video_url": "string",
"task_ids": [
"string"
],
"task_count": 0,
"meta": {
"property1": "string",
"property2": "string"
},
"created_at": "string",
"updated_at": "string"
}
}
}
Modified at 2025-06-23 10:53:58