Archived docs Get your API Key
Documentation
🤖 AI Assistant

Credit Consumption

What are Credits?

Credits are the units that measure the consumption of resources when you create videos using JSON2Video.

When you sign up for a free account, you receive an initial allocation of 600 credits. These credits allow you to create a few videos and evaluate JSON2Video's capabilities to determine if it meets your specific needs.

Once you've confirmed that JSON2Video is a suitable solution, you can purchase additional credits to continue creating videos.

How Credits are Consumed

Credits are consumed for the following purposes:

  • Rendering videos
  • Generating AI assets (images, voiceovers, etc.)

Rendering Videos

When rendering a video, JSON2Video consumes credits based on the video's resolution and length:

  • Videos up to Full HD (1920x1080 or 1080x1920) consume 1 credit per second.
  • Videos up to 4K (3840x2160 or 2160x3840) consume 4 credits per second.

Important: If a render fails, you will not be charged for the credits consumed during the rendering process.

Generating AI Assets

JSON2Video allows you to use your own assets (images, videos, audio) or leverage AI to generate them directly. These AI assets are created using third-party AI services like ElevenLabs or Replicate (Flux Pro).

There are two ways to utilize AI asset generation:

1. Using Your Own API Keys

If you have an account with the AI service (e.g., ElevenLabs), you can use your API key:

Refer to the Bring your own API keys documentation for detailed instructions.

2. Using JSON2Video's Managed API Keys

If you don't have an account with the AI service, JSON2Video can generate assets using its own API keys, and your account will be charged accordingly.

This simplifies the process by eliminating the need to create accounts and manage API keys with external providers.

The following table outlines the current credit consumption for AI asset generation:

Asset type Model Provider Credits consumed
Images freepik-classic Freepik 0 credits per image
Images flux-pro Replicate 20 credits per image
Voiceovers azure Microsoft 0 credits per minute
Voiceovers elevenlabs ElevenLabs 60 credits per minute
Subtitles default JSON2Video 0 credits per minute
Subtitles whisper JSON2Video 0 credits per minute

Note: freepik-classic and azure models are available for use without consuming any extra credits.

Because AI services are provided by third parties, credit consumption for AI asset generation is independent of the success of the video render.

However, generated AI assets are cached by the API. If you generate the same asset again or re-render a video using identical prompts and settings (and the cache property of the element is not explicitly set to false), you will not be charged again for the asset generation.

How credits are deducted

Credits are deducted from your account when you create a video or generate an AI asset.

The credits are deducted from the subscription plans first based on the expiration date of the subscription plans (the earlier the expiration date, the higher the priority).

If the credits are not enough in the subscription plans, the credits are deducted from the pre-paid plans that do not have an expiration date.

If there are no credits left, you will not be able to create videos or generate AI assets.

Examples

Here are some practical examples of how credits are consumed:

Example 1: Simple Video (No AI Assets)

You create a video with a resolution of 1920x1080 and a duration of 10 seconds. The video includes images and videos provided via URLs.

Credit Consumption: 10 credits (1 credit per second).

Example 2: Video with AI Assets (JSON2Video API Keys)

You create a video with a resolution of 1080x1920 and a duration of 30 seconds. The video includes 3 Flux Pro images generated using JSON2Video's managed API keys and a 20-second voiceover generated using ElevenLabs (also JSON2Video's managed keys).

Credit Consumption: 110 credits (60 for images + 20 for voiceover + 30 for rendering).

Example 3: Video with AI Assets (Your Own API Keys)

You create a video with a resolution of 1080x1920 and a duration of 30 seconds. The video includes 3 Flux Pro images and a 20-second ElevenLabs voiceover. You provide your own API keys for Replicate and ElevenLabs through the Connections section of your dashboard.

Credit Consumption: 30 credits (1 credit per second for rendering). Charges for AI assets will be billed directly to your Replicate and ElevenLabs accounts.