跳转到主要内容
GET
transcript
通过 URL 获取短视频或视频帖子的语音转文字稿。

示例

请求规范

  • 方法与路径: GET /apis/v1/instagram/media/transcript
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/instagram/media/transcript
  • allow_long_transcription: query; 可选
  • cache_max_age: query; 可选
  • url: query; 必填
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

按实际计费结果数量收费。 默认请求预估费用:$0.00188 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

查询参数

allow_long_transcription
boolean

Paid opt-in, enabled only by the literal query value 'true' (allow_long_transcription=true). Defaults to false when omitted; other values do not enable paid mode. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow_long_transcription=true to opt into paid AI with no fixed duration cap. Empty AI results and errors incur no charge for AI transcription. This flag does not force AI and does not enable transcription or AI fallback by itself. Keep get_transcript=true or use_ai_as_fallback=true where required by the endpoint. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed.

Provider reference (supplier schema): {"default":false,"type":"boolean"}.

cache_max_age
enum<string>

If we have a response in the cache that is this many days old or newer, return the cached response (with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (over 120 seconds requires allow_long_transcription=true; empty AI results and errors incur no charge). See the Caching page for details.

可用选项:
14d,
1d,
30d,
3d,
7d
url
string
必填

Instagram 帖子或短视频 URL

响应

成功响应

credits_remaining
integer
success
boolean
transcripts
object[]