calculate_credits
ChatGPTcreationParams payload or the same v3 payload used by render_video.By tmaker
Revid turns an idea into a finished short-form video without leaving the chat. Give it a prompt, a script, an article URL, an audio file, or a music track, and Revid writes the script, generates the visuals, adds a voiceover and captions, and renders a vertical video ready for TikTok, Reels, and Shorts. You can estimate the credit cost before rendering, check render progress, export the MP4, and schedule or publish the video to your connected social accounts. Revid also searches viral short-form videos across YouTube, TikTok, Instagram, X, Reddit, Threads, and LinkedIn so you can study what is working before you create. Requires a Revid account with an active plan; renders consume credits from your Revid account.
creationParams payload or the same v3 payload used by render_video.create_episode: the step in progress finishes (what it generates is charged), nothing after it starts. Requires an active Revid plan.seriesId this starts a new series; with a seriesId from list_series it makes that series' next episode with the same cast, places, style, ratio, model and language (do not send those then). Returns a runId: poll get_episode_status every 30 to 60 seconds (a whole episode usually takes 10 to 30 minutes). When it is done, call export_video with its pid, then get_project_status until videoUrl. Credits are charged per reference image and scene clip as they come back, never past maxCredits (default 2500): the run stops with status needs_attention first. Call get_account to check the balance before a long Ultra episode. Requires an active Revid plan.uploadUrl; PUT the file bytes to it with the returned headers within expiresIn seconds, e.g. curl -X PUT -H "Content-Type: <contentType>" --data-binary @<path> "<uploadUrl>". The file is then served at url. With a shell and the Revid CLI, revid upload <file> does both steps. Without a way to send the bytes, ask the user for a public link instead. Uses no credits.get_export_status with it until ready or failed. Do not call export_video again for the same project while it is processing: every call charges a new export. Requires an active Revid plan.get_media_status with them until the status is ready or failed. Do not call generate_media again for the same request while it is processing: every call starts and charges a new generation. Requires an active Revid plan.create_episode: status (queued, running, done, needs_attention, failed, cancelled), step (plan, approve_plan, budget, references, scenes, assemble, done), credits, and once planned the episode's title and scenes. When done, pid is the editor project: export it with export_video. needs_attention means it stopped before spending more; message says why. Requires an active Revid plan.export_video call that returned status "processing": pass its exportId. Waits up to waitSeconds (default 40) for the render, then returns status "ready" with the videoUrl, "failed" with the reason, or still "processing" with the render's progress (0 to 1): then call it again. Renders usually take 1 to 10 minutes; one still rendering after an hour fails with Timeout. Requires an active Revid plan.generate_media call that returned status "processing": pass its mediaIds. Waits up to waitSeconds (default 40) for the generation to finish, then returns status "ready" with each media's url, "failed" with the reason, or still "processing": then call it again with the same mediaIds. Images usually take under a minute, videos 1 to 10 minutes; a media still generating after an hour fails with Timeout. Requires an active Revid plan.pid). Requires an active Revid plan.publish_now or schedule_publish went out, per platform (queued, processing, published, failed, with post links and error reasons). TikTok reports processing for a few minutes until it confirms the post.music.trackName for render_video) with moods, descriptions and lengths. Use it only when the user asks for a library track: you cannot listen to them, so music.generateMusic: true is the better default.media.mediaPreset for moving-image and ai-video), motion graphics categories (media.mediaPreset for motion-graphics) and caption presets (captions.preset).seriesId to create_episode to make its next episode with the same characters and places. Requires an active Revid plan.publish_now or schedule_publish to pick a destination: pass accounts[].id as <platform>.id (or accounts[].username as <platform>.username, facebook.name for Pages), or channels[].id as channelId. Accounts with tokenInvalid: true must be reconnected by the user in Revid settings before publishing. Facebook Pages publishing is restricted to admins and the designated Meta review account while Meta review is pending. It is not generally available, and changing plans does not unlock Facebook Connect. Use only connected Pages returned by list_social_accounts.voice.voiceId for render_video. The account's cloned voices come first.list_social_accounts first to find ids and handles. Facebook Pages publishing is restricted to admins and the designated Meta review account while Meta review is pending. It is not generally available, and changing plans does not unlock Facebook Connect. Use only connected Pages returned by list_social_accounts.pid you can poll with get_project_status. Requires an active Revid plan.scheduledTime to publish at an exact date and time; omit it to use the next open queue slot. Use list_social_accounts first to find ids and handles. Facebook Pages publishing is restricted to admins and the designated Meta review account while Meta review is pending. It is not generally available, and changing plans does not unlock Facebook Connect. Use only connected Pages returned by list_social_accounts.create_upload_url. Up to 10 files per call, 200 MB each; call it again for more. Use only the url values it returns. If nothing is attached, ask the user to attach the files or give a public link. Uses no credits.Click any prompt to copy it.