---
title: Photon API Docs | Text to Image | ModelsLab
description: API documentation, code examples, and SDKs for Photon. Integrate AI into your app with Python, JavaScript, cURL, and CLI. Pay-per-use pricing.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/photon/api
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/photon/api
type: product
component: Playground/Endpoint/Index
generated_at: 2026-04-01T15:53:04.527588Z
---

# Photon API Docs | Text to Image | ModelsLab

> API documentation, code examples, and SDKs for Photon. Integrate AI into your app with Python, JavaScript, cURL, and CLI. Pay-per-use pricing.

**Navigation**: [Home](https://modelslab-frontend-v2-927501783998.us-east4.run.app) > [Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models) > [ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab) > [Photon](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/photon/api) > API Documentation

## Model

### [photon](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/photon)

**Model ID:** photon
**Category:** Stable Diffusion
**Provider:** Modelslab

Recommendation for generating the first image with Photon:

    Prompt: A simple sentence in natural language describing the image.

    Negative: "cartoon, painting, illustration, (worst quality, low quality, normal quality:2)"

    Sampler: DPM++ 2M Karras | Steps: 20 | CFG Scale: 6

    Size: 512x768 or 768x512

    Hires.fix: R-ESRGAN 4x+ | Steps: 10 | Denoising: 0.45 | Upscale x 2

    (avoid using negative embeddings unless absolutely necessary)

## Endpoint

### Text to Image Community Model

**Endpoint:** `v6/images/text2img`
**Provider:** Modelslab
**Category:** Image

Generate photorealistic and imaginative images from text prompts with advanced detail, inpainting, and image-to-image translation features, ideal for creatives and marketers.

Per image generation will cost 0.0047$ 
For premium plan image generation will cost 0.00$ i.e Free.

## API Docs

- [API Docs](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/photon/llms.txt)

## Related Models

### [Mark Bodé style - American cartoonist and graffiti artist - SDXL SD1.5 - SD1.5](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/markbodstyleamericancartoonistandgraffitiartistsdxlsd15-sd15)
Category: Stable Diffusion | Type: Lora | Provider: Modelslab

### [Art & Eros (aEros) - A tribute to beauty - aEros - Pruned safetensors](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/arterosaerosatributetobeauty-aerosprunedsafetensors)
Category: Stable Diffusion | Provider: Modelslab

### [KayWaii - v6.5](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/kaywaii-v65)
Category: Stable Diffusion | Provider: Modelslab

### [Wicke: Wise Warden | (Pokemon) [Pony & Illustrious & SD1.5] - v1.0](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/wicke-wise-warden-pokemon-pony-illustrious-sd1-5-v1-0)
Category: Stable Diffusion | Type: Lora | Provider: Modelslab

### [girl like ferris wheel - SD 1.5](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/girl-like-ferris-wheel-sd-1-5)
Category: Stable Diffusion | Type: Lora | Provider: Modelslab

### [- Photo Movie X](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/photomoviex)
Category: Stable Diffusion | Provider: Modelslab

### [Silver Wolf (Pony,IL,XL,1.5) - v1.0](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/silver-wolf-pony-il-xl-1-5-v1-0)
Category: Stable Diffusion | Type: Lora | Provider: Modelslab

### [[PonyXL + Illustrious + 1.5] Style - Paper Mario - v2.0](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/ponyxl-illustrious-1-5-style-paper-mario-v2-0)
Category: Stable Diffusion | Type: Lora | Provider: Modelslab

### [cherno snowbreak - sd1.5](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/cherno-snowbreak-sd1-5)
Category: Stable Diffusion | Type: Lora | Provider: Modelslab

### [Naruto | Style LoRA](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/naruto-style-lora)
Category: Stable Diffusion | Type: Lora | Provider: Modelslab

### [0250 dirty urinal（pony and 1.5） - v1.0](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/0250dirtyurinalponyand15-v10)
Category: Stable Diffusion | Type: Lora | Provider: Modelslab

### [Hatsune Miku cosplay costume collection | cosplay - 2022|Racing2022](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/hatsune-miku-cosplay-costume-collection-cosplay-2022-racing2022)
Category: Stable Diffusion | Type: Lora | Provider: Modelslab

### [Z Image Turbo](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/z-image-turbo)
Category: Stable Diffusion | Provider: Modelslab

### [JJ's Interior Space - Love Hotel - v2.0](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/jj-s-interior-space-love-hotel-v2-0)
Category: Stable Diffusion | Type: Lora | Provider: Modelslab

### [JJ's Drawing- Floor Plan - v2.0](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/jj-s-drawing-floor-plan-v2-0)
Category: Stable Diffusion | Type: Lora | Provider: Modelslab

### [Alice In Wonderland! Disney - FLUX | SD 1.5 | XL PONY | Illustrious XL - by YeiyeiArt - Alice 1.5 Ve](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/alice-in-wonderland-disney-flux-sd-1-5-xl-pony-illustrious-xl-by-yeiyeiart-alice)
Category: Stable Diffusion | Type: Lora | Provider: Modelslab

### [cityscape & character cumulonimbus cloud - v1.0](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/cityscape-character-cumulonimbus-cloud-v1-0)
Category: Stable Diffusion | Type: Lora | Provider: Modelslab

### [Deep urbanized city background in style of Ayuli2424 [Pony XL, SD 1.5, Animagine SDXL] - v0.921 SD 1](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/deep-urbanized-city-background-in-style-of-ayuli2424-pony-xl-sd-1-5-animagine-sd-1752000689)
Category: Stable Diffusion | Type: Lora | Provider: Modelslab


---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-04-01*