Skip to content

Query: Task Results

Pika video task result query API for retrieving detailed status and video output information.


Overview

  • Method: GET
  • Path: /pika/feed/{task_id}
  • Content-Type: application/json
  • Category: Video Models (Video) / Pika Video

Authentication

  • Header: Authorization: Bearer <token>

Path Parameters

ParameterTypeRequiredDescription
task_idstringYesTask ID of the generated video

Request Example

curl Example

bash
curl -X GET "https://api.gpt.ge/pika/feed/your_task_id" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $YOUR_TOKEN"

JavaScript (fetch) Example

javascript
fetch('https://api.gpt.ge/pika/feed/your_task_id', {
  method: 'GET',
  headers: {
    'Content-Type': 'application/json',
    'Authorization': 'Bearer YOUR_TOKEN'
  }
})
  .then(res => res.json())
  .then(console.log)

Python Example (requests)

python
import requests

resp = requests.get(
    'https://api.gpt.ge/pika/feed/your_task_id',
    headers={
        'Content-Type': 'application/json',
        'Authorization': 'Bearer YOUR_TOKEN'
    }
)
print(resp.json())

Response Fields

FieldTypeDescription
idstringTask ID
promptTextstringPrompt text
videosarrayList of video results
videos[].idstringSingle video item ID
videos[].statusstringCurrent status, such as queued, pending, finished, error
videos[].seedintegerRandom seed
videos[].resultUrlstringVideo result URL
videos[].sharingUrlstringShare URL
videos[].videoPosterstringVideo poster URL
videos[].imageThumbstringThumbnail URL
videos[].durationintegerVideo duration in seconds
videos[].errorstringError information
videos[].progressintegerCurrent progress percentage

Success Response Example

json
{
  "id": "c8091b7b-06df-48ed-8fe3-8ee8f1e367c2",
  "promptText": "Apple evaporates",
  "videos": [
    {
      "id": "c8091b7b-06df-48ed-8fe3-8ee8f1e367c2",
      "status": "finished",
      "progress": 100,
      "seed": 393769667,
      "resultUrl": "https://cdn.pika.art/v1/c8091b7b-06df-48ed-8fe3-8ee8f1e367c2/_____seed393769667.mp4",
      "sharingUrl": "https://cdn.pika.art/v1/c8091b7b-06df-48ed-8fe3-8ee8f1e367c2/_____seed393769667_share.mp4",
      "videoPoster": "https://cdn.pika.art/v1/c8091b7b-06df-48ed-8fe3-8ee8f1e367c2/poster.jpg",
      "imageThumb": "https://cdn.pika.art/v1/c8091b7b-06df-48ed-8fe3-8ee8f1e367c2/thumbnail.jpg",
      "duration": 5
    }
  ]
}