Pictory
  1. API Reference
Pictory
  • API Flows
    • Text to Video API Flow
      • Step 1: Authenticate
      • Step 2: Generate Video Preview from Text
      • Step 3: GET Video Preview & Default Settings
      • Step 4: Render Video
      • Step 4: Render PUT
      • Step 5: GET Video Download URL
    • Video Editing API Flow
      • Step 1: Authenticate
      • Step 2: Obtain Pictory Upload URL
      • Step 3: Upload video to Pictory
      • Step 4: v2 Transcribe Uploaded Video
      • Step 5: GET Default Transcription & Highlights Settings
      • Step 6: Render Video
      • Step 7: GET Video Download URL
    • Bulk Video Generation APIs
      • Step 1: Authenticate
      • Step2: Upload Project
      • Step3: Update Variables
      • Step 4: Get Video Preview
      • Step 5: Render Video
      • Step 6: GET Video Download URL
  • API Reference
    • /v1/oauth2/token
      POST
    • /v1/video/storyboard
      POST
    • /v1/job/{job_id}
      GET
    • /v1/media/generateUrl
      POST
    • Upload video to Pictory
      PUT
    • /v2/transcription (Transcript & Highlights)
      POST
    • /v2 GET Default Transcription & Highlights Settings
      GET
    • /v1/transcription
      POST
    • /v1 GET Default Transcription Settings
      GET
    • /v1/transcription/highlights
      POST
    • /v2/transcription/highlights
      POST
    • /v1 GET Default Highlight Settings
      GET
    • /v1/video/storyboard/fonts
      GET
    • Create Template
      POST
    • Update Template
      PUT
    • Get Templates
      GET
    • Create Template Video
      POST
    • Get Template By Id
      GET
    • Delete Template By Id
      DELETE
    • /v1/video/render
      POST
    • v1/media/search
      GET
  1. API Reference

/v1/transcription

Develop Env
https://dev.your-api-server.com
Develop Env
https://dev.your-api-server.com
POST
/v1/transcription
This v1 endpoint only supports English video transcription and does not provide video highlights. To obtain a highlight reel, make a call to /v1/transcription/highlights
The v2 transcription provides a number of updates:
1.
Multi-language support.
2.
Highlights are now directly available, no separate endpoint call needed.
3.
Highlight reels available: 30s, 1m, 5m, and 10m.
4.
The response includes txt (full transcription), and srt/vtt with caption timings. In v1, this requires manual sentence assembly and timing extraction.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://dev.your-api-server.com/v1/transcription' \
--header 'Authorization: {{access_token}}' \
--header 'X-Pictory-User-Id: {{X-Pictory-User-Id}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "fileUrl":  "{{uploaded_file_url}}", //Demo video: https://pictory-api-prod.s3.us-east-2.amazonaws.com/b6d6bc06-5060-444f-aeaa-bc4cd6d04811/englishtest
	"mediaType": "video", //Accepted value: video
	"language": "en-US", //Text language: English only
    "webhook":"{{webhookurl}}" //Use default webhook in Postman. Custom option coming soon
}'
Response Response Example
{
    "data": {
        "jobId": "6830fe00-872b-4e96-86b5-e4b527f0295b"
    },
    "success": true
}

Request

Header Params
Authorization
string 
required
Example:
{{access_token}}
X-Pictory-User-Id
string 
required
Used for logging purposes
Example:
{{X-Pictory-User-Id}}
Body Params application/json
fileUrl
string 
required
mediaType
string 
required
language
string 
required
webhook
string 
required
Examples

Responses

🟢200/v1/transcription
application/json
Body
data
object 
required
jobId
string 
required
success
boolean 
required
Modified at 2024-07-10 08:41:40
Previous
/v2 GET Default Transcription & Highlights Settings
Next
/v1 GET Default Transcription Settings
Built with