IMAGINE API

State-of-the-art image and video generation across quality, cost, and latency

IMAGINE API

State-of-the-art image and video generation across quality, cost, and latency

IMAGINE API

State-of-the-art image and video generation across quality, cost, and latency

Image

Video

Ready to build?

Turn everyday content into eye-catching masterpieces. Choose styles from your imagination.

1const hitpay = require("hitpay")
2("hp_test_BQokikJOvBiI2HlWgH4olfQ2");
3 
4// Create a payment intent to start a purchase flow
5let paymentIntent = await
6hitpay.paymentIntents.create({
7 amount: 2000,
8 currency: "usd",
9 description: "My first payment",
10});
11 
12// Complete the payment using a test card.
13await hitpay.paymentIntents.confirm(paymentIntent.id, {
14 payment_method: "pm_card_mastercard",
15});

Restyle

Turn everyday content into eye-catching masterpieces. Choose styles from your imagination.

Set the scene

Describe the scene you envision — any place, time, mood, or style.

Image

Video

Ready to build?

Turn everyday content into eye-catching masterpieces. Choose styles from your imagination.

1const hitpay = require("hitpay")
2("hp_test_BQokikJOvBiI2HlWgH4olfQ2");
3 
4// Create a payment intent to start a purchase flow
5let paymentIntent = await
6hitpay.paymentIntents.create({
7 amount: 2000,
8 currency: "usd",
9 description: "My first payment",
10});
11 
12// Complete the payment using a test card.
13await hitpay.paymentIntents.confirm(paymentIntent.id, {
14 payment_method: "pm_card_mastercard",
15});

Restyle

Turn everyday content into eye-catching masterpieces. Choose styles from your imagination.

Set the scene

Describe the scene you envision — any place, time, mood, or style.

Image

Video

Ready to build?

Turn everyday content into eye-catching masterpieces. Choose styles from your imagination.

1const hitpay = require("hitpay")
2("hp_test_BQokikJOvBiI2HlWgH4olfQ2");
3 
4// Create a payment intent to start a purchase flow
5let paymentIntent = await
6hitpay.paymentIntents.create({
7 amount: 2000,
8 currency: "usd",
9 description: "My first payment",
10});
11 
12// Complete the payment using a test card.
13await hitpay.paymentIntents.confirm(paymentIntent.id, {
14 payment_method: "pm_card_mastercard",
15});

Restyle

Turn everyday content into eye-catching masterpieces. Choose styles from your imagination.

Set the scene

Describe the scene you envision — any place, time, mood, or style.

Frequently Asked Questions

The most common questions about image and video generation, editing, and pricing. For a deeper dive, visit the docs.

What image generation capabilities does the Imagine API support?

What video generation features are available?

How does pricing work for image and video generation?

Can I edit existing images and videos with text prompts?

How do I get started with the API?

What are the rate limits and input constraints?

Is content moderation applied to generated outputs?

Frequently Asked Questions

The most common questions about image and video generation, editing, and pricing. For a deeper dive, visit the docs.

What image generation capabilities does the Imagine API support?

What video generation features are available?

How does pricing work for image and video generation?

Can I edit existing images and videos with text prompts?

How do I get started with the API?

What are the rate limits and input constraints?

Is content moderation applied to generated outputs?

Frequently Asked Questions

The most common questions about image and video generation, editing, and pricing. For a deeper dive, visit the docs.

What image generation capabilities does the Imagine API support?

What video generation features are available?

How does pricing work for image and video generation?

Can I edit existing images and videos with text prompts?

How do I get started with the API?

What are the rate limits and input constraints?

Is content moderation applied to generated outputs?