Generate Videos/Images
Generate Attractiveness Test
Create attractiveness test
Start with the API
POST https://devapi.vidnoz.com/v2/task/ai-attractiveness-test
Request Headers
Parameter | Required | Type | Description |
---|---|---|---|
Content-Type | true | string | Data Tranmission Type: multipart/form-data |
Request Attributes
Parameter | Required | Type | Description |
---|---|---|---|
file | false | file | Uploaded original image (this field is used first), supports two ways of uploading images, choose one |
file_url | false | string | The image address of the original image. Two image transfer methods are supported. You can choose either one. |
is_fun | false | int | Whether to test fun, 1=yes, 2=no |
is_smartness | false | int | Whether to test smartness, 1=yes, 2=no |
is_confidence | false | int | Whether to test confidence, 1=yes, 2=no |
is_attractiveness | false | int | Whether to test attractiveness, 1=yes, 2=no |
is_trustworthiness | false | int | Whether to test trustworthiness, 1=yes, 2=no |
is_approachability | false | int | Whether to test approachability, 1=yes, 2=no |
Response Attributes
Parameter | Type | Description |
---|---|---|
code | int | 200 |
message | string | Task Remark |
data | obj | Task Object |
data.task_id | string | Task ID |
Example
Request Attributes
curl --request POST \
--url https://devapi.vidnoz.com/v2/task/ai-attractiveness-test \
--header "accept: application/json" \
--header "content-type: multipart/form-data" \
--header "Authorization: Bearer $API_KEY" \
--form 'file="file"' \
--form 'file_url="https://r2-aiautodelete-000-test.214dcedd27630abef236dcb67de0ce92.r2.cloudflarestorage.com/1328/asset/202503/c4aa6f40-9c80-4d07-807b-6683fff986b4.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=91ac9d3ee865be05c575d38c9bdd1275%2F20250328%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20250328T064029Z&X-Amz-SignedHeaders=host&X-Amz-Expires=259200&X-Amz-Signature=f82ada9552d8882318df0793a228fb9f5fe520ba489b14bdda9cbd87cb400187"' \
--form 'is_fun=1' \
--form 'is_smartness=1' \
--form 'is_confidence=1' \
--form 'is_attractiveness=1' \
--form 'is_trustworthiness=1' \
--form 'is_approachability=1' \
Response Attributes
{
"code": 200,
"message": "ok",
"data": {
"task_id": "T2hzVGJ5dWhaSUxSSUJqSzZORUdpUT09"
}
}