Quote clip job cost
quote_clip_jobEstimate the credit cost of a clip or recut job before creating it, and check that the video can be downloaded. Free, read-only price check.
Instructions
Calculates the credit cost of create_clip_job or recut_clip_job without spending anything, and checks that MnogoReels can download the video. Free and read-only.
Price: 1 credit per started minute of the processed range (end_sec minus start_sec), minimum 1. Options such as caption style, hooks, B-roll or music do not change the price. One job processes at most 30 minutes; for longer videos quote several ranges with start_sec and end_sec. Without start_sec and end_sec the whole video is priced, so its length must be known; this tool looks it up.
Pass source_url to price a new video, or job_id to price a recut of an existing clip job. A recut without start_sec and end_sec reuses the original job's range, which the API does not reveal; the quote is then an upper bound (the whole source video) and credits_exact is false. Show the credits to the user and get their agreement before calling create_clip_job or recut_clip_job with max_credits of at least this amount.
Returns credits, credits_exact, billed_seconds, the resolved start_sec and end_sec, the platform, whether the video can be downloaded, the source title and length, and a note about failed jobs. If the length cannot be determined (typical for direct file links), the error explains how to pass end_sec yourself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | No | Existing clip job to price a recut for. Give either source_url or job_id. | |
| end_sec | No | End of the part to process, in seconds. Default: the end of the video (its length is looked up automatically when the platform reports it). At most 30 minutes after start_sec. | |
| start_sec | No | Start of the part to process, in seconds from the beginning. Default 0. | |
| source_url | No | Public link to the video: YouTube, VK Video, RuTube, Dzen, Twitch, Yandex Disk file, Google Drive file, or a direct .mp4/.mov/.mkv/.webm link. Local files are not supported. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | Jobs cannot be cancelled. If processing fails, credits are not returned automatically; retry_clip_job re-runs a failed job for free, or contact support@mnogo-reels.ru with the job_id. | |
| job_id | Yes | The clip job this recut quote is for; null for a new video. | |
| credits | Yes | Credits that create_clip_job or recut_clip_job will charge for this range (an upper bound when credits_exact is false). | |
| end_sec | Yes | ||
| platform | Yes | ||
| start_sec | Yes | null = the original job's range is reused (recut). | |
| source_url | Yes | ||
| downloadable | Yes | null when the check could not run right now (the range was given, so the price is still exact). | |
| pricing_rule | Yes | 1 credit per started minute of the range, minimum 1; at most 30 minutes per job. | |
| source_title | Yes | Wrapped in <untrusted_source_text>. | |
| credits_exact | Yes | False only for a recut that reuses the original range: the charge is at most credits. | |
| billed_seconds | Yes | Length of the billed range; null when a recut reuses the original range. | |
| source_duration_sec | Yes |