Skip to main content
GET
/
v1
/
generation
/
effect-template
/
list
Get Effect Template List
curl --request GET \
  --url https://api.weryai.com/v1/generation/effect-template/list \
  --header 'Authorization: Bearer <token>'
{
  "status": 0,
  "desc": "success",
  "message": "success",
  "data": {
    "content": [
      {
        "id": 1001,
        "name": "AI Portrait",
        "type": "IMAGE",
        "cover_url": "https://cdn.weryai.com/template/cover1.jpg",
        "configs": [
          {
            "id": 2001,
            "name": "Style A",
            "cover_url": "https://cdn.weryai.com/template/config_cover1.jpg",
            "sample_urls": [
              "https://cdn.weryai.com/template/sample1.jpg"
            ],
            "image_input": 1,
            "aspect_ratio": [
              "1:1",
              "16:9"
            ],
            "bgm": false,
            "credit": 10,
            "prompt_customizable": true,
            "prompt_variables": [
              {
                "key": "style",
                "index": 0
              }
            ]
          }
        ]
      }
    ],
    "page": 1,
    "page_size": 10,
    "total_page": 1,
    "total": 1
  }
}

Authorizations

Authorization
string
header
required

Authenticate using Bearer token. Get your API Key from the WeryAI Console.

Example: Authorization: Bearer sk-xxxxxxxxxxxxxxxx

Query Parameters

type
enum<string>

Template type, only IMAGE is available

Available options:
IMAGE
pageNum
integer
default:1

Page number, default 1

Required range: x >= 1
pageSize
integer
default:10

Number of items per page, default 10

Required range: x >= 1

Response

Query successful

status
integer

Business status code (0 indicates success)

Example:

0

desc
string

Status description

Example:

"success"

message
string

Multi-language message

Example:

"success"

data
object