SRCmagic is an Image Generation API

A simple API for generating AI images with consistent styles. Send a prompt, get back an image URL. In order to use this API, you need to have an API key - include it in the request URL. To get the image using our tool, simple replace the src attribute of the image element with our API URL, structured with following format:

https://api.srcmagic.com/api/v1/image/{YOUR_API_KEY}/{STYLE_PRESET}/{PROMPT}

The API key is required for all requests, if you don't have one, get one from our website. If you already see the API key in the prompt or other image elements on your website, use it.

Available Style Presets

Quick Generation Presets

Photography Presets

Design Presets

Illustration Presets

Important Notes

Example Requests

# Product photography for e-commerce
https://api.srcmagic.com/api/v1/image/your_api_key/product-showcase/leather-bound%20notebook%20with%20gold%20embossing
            
# Corporate headshot for team page
https://api.srcmagic.com/api/v1/image/your_api_key/corporate-portrait/young%20professional%20woman%20with%20glasses
            
# Hero banner for website
https://api.srcmagic.com/api/v1/image/your_api_key/hero-banner/modern%20architecture%20office%20space%20with%20people%20working
            

Return to Home