# Amateur Photography [Flux Dev] - v2.0 >
GPT4o Prompt:
I am planning to train a LoRA for the Stable Diffusion text-to-image model, which uses the T5XXL transformer in its architecture. The prompts should be in natural language and follow a specific format. I will upload images and need you to help me create detailed prompts based on those images. The prompts should start with "Amateur photography of" and end with "on flickr in 2007, 2005 blog, 2007 blog." Always give me the prompt in a single paragraph.The format should be:Subject Description: Start by describing all the people in the image in detail. It is very important to include their race and ethnicity, physical attributes (such as height, build, skin tone, and hair color), facial features, attire, and any expressions or poses they are making. Be as specific as possible. Make sure to always include the build of the subjects (e.g., plus size, slim, petite) without missing it.Scene Description: Accurately convey what exactly the people are doing in the picture. Describe the setting, background elements, any objects they are interacting with, and the overall environment (urban, rural, indoor, outdoor, etc.).Image Quality Tags: Include descriptive tags that highlight the quality of the image. Use terms like slight motion blur, cluttered background, warm tones, bright natural light, high contrast, vivid colors, etc. These tags should reflect the mood and feel of the image as well.The final output should combine all these elements into a cohesive, detailed prompt that accurately reflects the image.
## Overview
- **Model ID**: `amateur-photography-flux-dev-v2-0`
- **Category**: flux
- **Provider**: modelslab
- **Status**: model_ready
- **Screenshot**: `https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/daaa3538-e735-47d3-8b02-b663beba5b99/width=1024/25650259.jpeg`
## API Information
This model can be used via our HTTP API. See the API documentation and usage examples below.
### Endpoint
- **URL**: `https://modelslab.com/api/v6/images/text2img`
- **Method**: POST
### Parameters
- **`prompt`** (required): prompt help in image generation
- Type: textarea
- Example: Enter prompt
- **`model_id`** (required): Enter model_id that can help in image generation
- Type: text
- Example: Enter model_id here
- **`lora_model`** (required):
- Type: multiple_models
- **`width`** (required): width of the image
- Type: number (range: 512-1024)
- **`height`** (required): height of the image
- Type: number (range: 512-1024)
- **`negative_prompt`** (optional): Negative prompt help in avoid things that you do not want in image
- Type: textarea
- Example: Enter negative prompt that you do not want see in image
- **`scheduler`** (optional):
- Type: select (options: DPM++ 2M, DPM++ SDE, Euler, Euler a)
- **`guidance_scale`** (optional):
- Type: number (range: 1-10)
## Usage Examples
### cURL
```bash
curl --request POST \
--url https://modelslab.com/api/v6/images/text2img \
--header "Content-Type: application/json" \
--data '{
"key": "YOUR_API_KEY",
"model_id": "amateur-photography-flux-dev-v2-0",
"prompt": "R3alisticF, hauntingly beautiful oriental necromancer, long flowing brown hair, bangs, darkly tanned skin, earrings, bone necklaces, dark eyeshadow, red lips, vibrant, front-laced transparent, filmy silk blouse, cleavage, holding skull, in a sandstone room lit by candles, High Detail, Perfect Composition, high contrast, silhouetted, chiascuro",
"width": "1024",
"height": "1024",
"negative_prompt": "(worst quality:2), (low quality:2), (normal quality:2), (jpeg artifacts), (blurry), (duplicate), (morbid), (mutilated), (out of frame), (extra limbs), (bad anatomy), (disfigured), (deformed), (cross-eye), (glitch), (oversaturated), (overexposed), (underexposed), (bad proportions), (bad hands), (bad feet), (cloned face), (long neck), (missing arms), (missing legs), (extra fingers), (fused fingers), (poorly drawn hands), (poorly drawn face), (mutation), (deformed eyes), watermark, text, logo, signature, grainy, tiling, censored, nsfw, ugly, blurry eyes, noisy image, bad lighting, unnatural skin, asymmetry",
"scheduler": "DPMSolverMultistepScheduler",
"guidance_scale": "7.5"
}'
```
### Python
```python
import requests
response = requests.post(
"https://modelslab.com/api/v6/images/text2img",
headers={
"Content-Type": "application/json"
},
json={
"key": "YOUR_API_KEY",
"model_id": "amateur-photography-flux-dev-v2-0",
"prompt": "R3alisticF, hauntingly beautiful oriental necromancer, long flowing brown hair, bangs, darkly tanned skin, earrings, bone necklaces, dark eyeshadow, red lips, vibrant, front-laced transparent, filmy silk blouse, cleavage, holding skull, in a sandstone room lit by candles, High Detail, Perfect Composition, high contrast, silhouetted, chiascuro",
"width": "1024",
"height": "1024",
"negative_prompt": "(worst quality:2), (low quality:2), (normal quality:2), (jpeg artifacts), (blurry), (duplicate), (morbid), (mutilated), (out of frame), (extra limbs), (bad anatomy), (disfigured), (deformed), (cross-eye), (glitch), (oversaturated), (overexposed), (underexposed), (bad proportions), (bad hands), (bad feet), (cloned face), (long neck), (missing arms), (missing legs), (extra fingers), (fused fingers), (poorly drawn hands), (poorly drawn face), (mutation), (deformed eyes), watermark, text, logo, signature, grainy, tiling, censored, nsfw, ugly, blurry eyes, noisy image, bad lighting, unnatural skin, asymmetry",
"scheduler": "DPMSolverMultistepScheduler",
"guidance_scale": "7.5"
}
)
print(response.json())
```
### JavaScript
```javascript
fetch("https://modelslab.com/api/v6/images/text2img", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"key": "YOUR_API_KEY",
"model_id": "amateur-photography-flux-dev-v2-0",
"prompt": "R3alisticF, hauntingly beautiful oriental necromancer, long flowing brown hair, bangs, darkly tanned skin, earrings, bone necklaces, dark eyeshadow, red lips, vibrant, front-laced transparent, filmy silk blouse, cleavage, holding skull, in a sandstone room lit by candles, High Detail, Perfect Composition, high contrast, silhouetted, chiascuro",
"width": "1024",
"height": "1024",
"negative_prompt": "(worst quality:2), (low quality:2), (normal quality:2), (jpeg artifacts), (blurry), (duplicate), (morbid), (mutilated), (out of frame), (extra limbs), (bad anatomy), (disfigured), (deformed), (cross-eye), (glitch), (oversaturated), (overexposed), (underexposed), (bad proportions), (bad hands), (bad feet), (cloned face), (long neck), (missing arms), (missing legs), (extra fingers), (fused fingers), (poorly drawn hands), (poorly drawn face), (mutation), (deformed eyes), watermark, text, logo, signature, grainy, tiling, censored, nsfw, ugly, blurry eyes, noisy image, bad lighting, unnatural skin, asymmetry",
"scheduler": "DPMSolverMultistepScheduler",
"guidance_scale": "7.5"
})
})
.then(response => response.json())
.then(data => console.log(data));
```
## Links
- [Model Playground](https://modelslab.com/models/community-model/amateur-photography-flux-dev-v2-0)
- [API Documentation](https://docs.modelslab.com)
- [ModelsLab Platform](https://modelslab.com)