Retrieve the list of styles used for restyling

March 31, 2025

Table of contents

  1. Request Headers
  2. Query Parameters
  3. Responses
  4. Model
  5. Examples
  6. Try It

https://api.useapi.net/v2/pixverse/videos/restyles?…

Request Headers
Authorization: Bearer {API token}
Content-Type: application/json
Query Parameters
  • email is optional when only one account configured. However, if you have multiple accounts configured, this parameter becomes required.

  • limit is optional, specify the number of videos to return. Default 100.

  • offset is optional, specify the offset from where to start.

Responses
  • 200 OK

    {
        "items": [
            {
                "restyle_id": 322004186061696,
                "display_name": "Van Gogh",
                "restyle_prompt": "Impressionistic Van Gogh style, with thick, expressive brushstrokes and vibrant, swirling color palettes, reminiscent of classic paintings, featuring textured yet simplified characters and environments full of movement and emotional depth.",
                "thumbnail_path": "asset/template/vangogh_1.png",
                "thumbnail_url": "https://media.pixverse.ai/asset%2Ftemplate%2Fvangogh_1.png",
                "marker": "new",
                "created_at": "2025-02-12T09:02:40Z",
                "updated_at": "2025-02-18T02:24:14Z"
            },
            {
                "restyle_id": 322876019426368,
                "display_name": "Ghibli Animation",
                "restyle_prompt": "Ghibli style, with whimsical, fluid animation and soft, earthy color palettes, reminiscent of Studio Ghibli’s enchanting worlds, featuring simplified yet lush characters and environments made of hand-painted textures and dreamlike, nature-inspired elements.",
                "thumbnail_path": "asset/template/ghibli_1.png",
                "thumbnail_url": "https://media.pixverse.ai/asset%2Ftemplate%2Fghibli_1.png",
                "marker": "new",
                "created_at": "2025-02-17T07:17:40Z",
                "updated_at": "2025-02-17T10:19:09Z"
            }
        ]
    }
    
  • 400 Bad Request

    {
        "error": "<Error message>",
        "code": 400
    }
    
  • 401 Unauthorized

    {
      "error": "Unauthorized",
      "code": 401
    }
    
Model
{   // TypeScript, all fields are optional
    items: {
        restyle_id: number
        restyle_tag: string
        display_name: string
        restyle_prompt: string
        thumbnail_path: string
        thumbnail_url: string
        thumbnail_video_path: string
        thumbnail_video_url: string
        show_status: string
        app_show_status: string
        marker: string
        display_prompt: string
        i18n_json: object | null
        score: number
        example_list: string
        qualities: any | null
        thumbnail_gif_path: string
        thumbnail_gif_url: string
        app_thumbnail_path: string
        app_thumbnail_url: string
        app_thumbnail_video_path: string
        app_thumbnail_video_url: string
        app_thumbnail_gif_path: string
        app_thumbnail_gif_url: string
        audio_path: string
        audio_url: string
        is_del: number
        is_pinned: string
        created_at: string
        updated_at: string
    }[]
    next_offset: number
    total: number
}
Examples
  • curl "https://api.useapi.net/v2/pixverse/videos/restyles?email=email" \
       -H "Accept: application/json" \
       -H "Authorization: Bearer …" 
    
  • const token = "API token";
    const email= "Previously configured account email"; 
    const apiUrl = `https://api.useapi.net/v2/pixverse/videos/restyles?email=${email}`; 
    const response = await fetch(apiUrl, {
      headers: {
        "Authorization": `Bearer ${token}`,
      },
    });
    const result = await response.json();
    console.log("response", {response, result});
    
  • import requests
    token = "API token"
    email= "Previously configured account email"
    apiUrl = f"https://api.useapi.net/v2/pixverse/videos/restyles?email={email}"
    headers = {
        "Content-Type": "application/json", 
        "Authorization" : f"Bearer {token}"
    }
    response = requests.get(apiUrl, headers=headers)
    print(response, response.json())
    
Try It