1. Style
  • Get Started
    • Api Setup
  • Plan
    • Get Rest Credit
      GET
  • Style
    • Style List
      GET
  • Try-On Accessory
    • Create Try-On Accessory Task
      POST
    • Get Try-On Accessory Result
      GET
  1. Style

Style List

GET
/image/api/style/list/{type}

Request

Authorization
Add parameter in header
Api-Key
Example:
Api-Key: ********************
Path Params
type
enum<integer> 
required
Allowed value:
5
Example:
5
Query Params
pageNum
integer <int32>
optional
Default:
1
Example:
1
pageSize
integer <int32>
optional
<= 1000
Default:
10
Example:
10

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 GET 'https://api.sellerpic.ai/image/api/style/list/5?pageNum=1&pageSize=10' \
--header 'Api-Key;'

Responses

🟢200OK
*/*
OK
Body
code
integer 
required
data
object 
required
total
string 
required
Total number of items
hasMore
string 
required
Whether more pages exist
list
array [object {3}] 
required
msg
string 
required
msgKey
string 
required
traceId
string 
required
Example
{
    "code": 0,
    "data": {
        "total": "string",
        "hasMore": "string",
        "list": [
            {
                "id": "string",
                "imageUrl": "string",
                "style": "string"
            }
        ]
    },
    "msg": "string",
    "msgKey": "string",
    "traceId": "string"
}
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
Previous
Get Rest Credit
Next
Create Try-On Accessory Task
Built with