PricingBlogEnterpriseAPI
Log inStart free
Log inStart free

03 / Endpoints

Thumbnails

Poll the latest ThumbnailSet

API key required
GET/api/enterprise/v1/generated-videos/{videoId}/thumbnails/latest

Reads the most recent ThumbnailSet of a video.

  • With no set yet, you get a 200 with { status: "pending" } (keep polling).
  • Pass the after query (ISO 8601) and only sets created after that moment are considered. Use it to ignore the previous result right after a new generate request.

Path parameters

FieldTypeRequiredDescription
videoIdstringRequiredGenerated short video IDExample: gsv_001

Query parameters

FieldTypeRequiredDescription
afterstringOptionalISO 8601 moment. Only sets created after it are considered.Example: 2026-05-27T03:00:00.000Z

Request body

This endpoint takes no request body.

Responses

StatusMeaning
200Retrieved (pending or ready)LatestThumbnailSetResponse
400Malformed queryErrorResponse
401Authentication failedErrorResponse
404Video not foundErrorResponse

Responses 200LatestThumbnailSetResponse

No body.

Export one thumbnail (free)

API key required
POST/api/enterprise/v1/generated-videos/{videoId}/thumbnails/export

Picks one image from the latest ThumbnailSet and exports it.

  • This is free. With the prepaid move on 2026-09-14 the charge shifted to generation time (POST .../thumbnails); the export is covered by what was already paid then.
  • Because of that, credit.previousBalance and credit.currentBalance in the response are always the same value. An integration that computed usage from the difference will now read 0 and should switch to the generation response.
  • thumbnailUrl must exist inside the set from GET .../thumbnails/latest.
  • A missing set returns THUMBNAIL_SET_NOT_FOUND(404); a URL that is not in the set returns THUMBNAIL_NOT_FOUND(404).

Path parameters

FieldTypeRequiredDescription
videoIdstringRequiredGenerated short video IDExample: gsv_001

Request bodyExportThumbnailRequest

FieldTypeRequiredDescription
thumbnailUrlstringRequiredThumbnail to pick. Must be one of thumbnails[].imageUrl from GET /thumbnails/latest.Example: https://cdn.fikaclip.com/thumbnails/abc.jpg
Request example
{
  "thumbnailUrl": "https://cdn.fikaclip.com/thumbnails/abc.jpg"
}

Responses

StatusMeaning
200Export succeededExportThumbnailResponse
400Malformed body / thumbnailUrl formatErrorResponse
401Authentication failedErrorResponse
402Out of creditErrorResponse
404Video / ThumbnailSet / the chosen thumbnail does not existErrorResponse

Responses 200ExportThumbnailResponse

FieldTypeRequiredDescription
requestIdstringRequired
videoobjectRequired
idstringRequired
thumbnailSetobjectRequired
idnumberRequired
statusenumRequiredAllowed: EXPORTED
selectedThumbnailUrlstringRequired
creditobjectRequired
previousBalancenumberRequiredBalance (export is free — same as currentBalance)Example: 300
currentBalancenumberRequiredBalance (export is free — same as previousBalance)Example: 300
exportedAtstringRequiredExported at (ISO 8601)
Response example
{
  "requestId": "string",
  "video": {
    "id": "string"
  },
  "thumbnailSet": {
    "id": 0,
    "status": "EXPORTED",
    "selectedThumbnailUrl": "string"
  },
  "credit": {
    "previousBalance": 300,
    "currentBalance": 300
  },
  "exportedAt": "string"
}