Edit

YouTube to reel: plan it step by step, on your licence — estimate

Price the request without executing it. Same body as POST /v1/studio/youtube-reel.

post/v1/studio/youtube-reel/estimate

Request

  • Base URL: https://apihub.co.il
  • URL: https://apihub.co.il/v1/studio/youtube-reel/estimate
  • Auth: HTTP bearer

Request body

planobject

The picker's answer: output.json of the POST /v1/ai/text call this endpoint gave you

creditstring

The credit line shown on screen (CC BY). Default: "<title> · <channel> · CC BY" from the video's facts

licence'own' | 'creative-commons' | 'licensed'

Your basis for using the video's FILE: own = a channel you control · creative-commons = YouTube marks it Creative Commons (CC BY) and its credit goes on screen · licensed = you hold written permission. Omit when you have none: the recipe makes a commentary reel on your own footage instead and never takes the file

captions'classic' | 'hormozi' | 'tiktok' | 'karaoke' | 'one-word' | 'marker' | 'news' | 'neon' | 'quiet' | 'pop' | 'typewriter' | 'bounce' | 'underline' | 'elegant' | 'handwritten' | 'comic' | 'sticker' | 'drama' | 'cinema' | 'shadow' | 'lime' | 'retro' | 'scale' | 'bubble' | 'sport' | 'minimal' | 'slide' | 'volt' | 'neon-glow' | 'marker-tape' | 'keyword-pop' | 'keyword-box' | 'editorial' | 'poster' | 'broadcast' | 'soft' | 'cards' | 'cards-bold' | 'cards-neon' | 'kinetic-pop' | 'fire' | 'gold' | 'glass' | 'vhs' | 'candy' | 'look-clean' | 'look-bold-lime' | 'look-night' | 'look-warm'

Caption preset (GET /v1/studio/caption-styles)

cutawaysboolean

licensed: lay the video's own striking shots over its speech (inserts)

file_urlstring uri

licensed: the video's file — url of POST /v1/youtube/videos/{id}/file

languagestring

The language of the hook, the title and the post text (and of the commentary script)

hook_style'box_red' | 'yellow' | 'black' | 'outline' | 'clean' | 'type' | 'punch' | 'glitch' | 'marker' | 'words' | 'box' | 'counter' | 'shake' | 'rise' | 'strike' | 'blur' | 'flash' | 'look-clean' | 'look-bold-lime' | 'look-night' | 'look-warm'

Hook preset (GET /v1/studio/hook-styles)

resolution'720' | '1080'
footage_urlstring uri

Your own recording (a commentary on the video): the reel is built on it, the video's shots (licensed) or stock clips (commentary) inserted on your words

youtube_urlstring required

The YouTube video: a watch / shorts / youtu.be link (or its 11-character id)

transcript_idstring

licensed, no footage: the transcript of the file (POST /v1/speech/transcripts on file_url)

target_secondsnumber

How long the reel should be (±25 %)

footage_transcript_idstring

The transcript of the footage (POST /v1/speech/transcripts on footage_url)

Response

Estimate

operationstring
estimated_creditsnumber
credits_to_reservenumber
estimated_usageobject
notestring nullable
sufficientboolean

Changes

No recorded changes to this operation across all 2 revisions of this API.