Skip to main content
POST
Twitter Video Caption
Product: Visual Intelligence — Social Media Scraping Use case: Fetch video metadata, transcripts, captions, and comments from YouTube, Instagram, TikTok, and Twitter/X Host: https://mavi-backend.memories.ai/serve/api/v2 Auth: Authorization: sk-mavi-... (no Bearer prefix)
This endpoint allows you to generate visual captions for a Twitter video.
Channel routing guide: see Social Media Scraping Overview. Endpoints with a channel request field let you choose apify, rapid, or memories.ai; endpoints without this field use managed routing.
Pricing: Base fee (0.01/video)+Inputtokens(0.01/video) + Input tokens (0.45/1M) + Output tokens (3.75/1M)+Duration(3.75/1M) + Duration (0.0001/sec)
This is an asynchronous endpoint. It returns a task_id immediately. You must configure a Webhook to receive the processing results.If no webhook is configured on the account, the call is rejected at submit time with HTTP 400:

Code Example

Response

Returns the caption task information.

Response Parameters

Callback Response Parameters

When the Twitter video caption generation is complete, a callback will be sent to your configured webhook URL.

Authorizations

Authorization
string
header
required

Body

application/json
video_url
string
required

The Twitter video URL

Example:

"https://x.com/NBCOlympics/status/1989901761650323606"

Response

200 - application/json

Transcription task information

code
string

Response code indicating the result status

Example:

200

msg
string

Response message describing the operation result

Example:

"success"

data
object

Response data object containing task information

success
boolean

Indicates whether the operation was successful

Example:

true

failed
boolean

Indicates whether the operation failed

Example:

false