MakePhotos Docs
Getting Started

Quick Start

Generate your first AI photo with MakePhotos in under 5 minutes.

Quick Start

Get up and running with MakePhotos AI in three steps.

1. Get an API key

Sign up at makephotos.ai, subscribe to a plan, and create an API key from the developer dashboard.

Your API key looks like mk_live_a3f8... — store it securely. You'll only see it once.

2. Install the SDK

npm install makephotos

Initialize the client:

import MakePhotos from 'makephotos';

const client = new MakePhotos({
  apiKey: process.env.MAKEPHOTOS_API_KEY,
});

3. Generate a photo

const result = await client.generate.create({
  imageUrl: 'https://example.com/product.jpg',
  type: 'product',
  style: 'studio',
});

console.log(result.resultUrl);
// https://res.cloudinary.com/.../makephotos/outputs/...

That's it. The resultUrl is a permanent Cloudinary URL you can use directly.

What just happened?

  1. The SDK sent your image URL and style preferences to the MakePhotos API
  2. The server deducted credits from your account (1 credit at 1K resolution)
  3. Google Gemini generated a studio-quality version of your product
  4. The result was uploaded to Cloudinary and the URL was returned

Next steps

On this page