API Documentation

Getting Started

Documentation

Welcome to the STOCKIMG.AI API! This guide will help you get started with integrating our powerful image generation capabilities.

Create an Account
Step 1: Set up your STOCKIMG.AI account

First, you'll need to create an account with us. You can create one using a username and password, or by using your Google account. After logging in, you will be directed to the Home page of Stockimg AI, which is open to all users.

For the API page, navigate to:

HomeAPI Dashboard (in sidebar)https://stockimg.ai/api-dashboard
Authentication
Step 2: Get your API key

You'll need an API key to make requests to the API. To get one, hop on over to the API Keys tab in API Dashboard page. All APIs documented on this site use the same authentication mechanism: passing the API key in via the Authorization header.

Authorization: Bearer YOUR_API_KEY
Balance
Step 3: Add balance to your account

You must have balance in your account to make requests to the API. The amount of balance consumed per request will vary between models and methods.

See the Pricing page for more information on cost per model calculators.

Purchase to Add Balance

To add balance to your account, you must make a purchase. For example, to add a $500 balance to your account, you must make a $500 purchase on the Billing Tab on the API Dashboard page.