# FLUX.1 Krea [dev] > An opinionated text-to-image model from Black Forest Labs in collaboration with Krea that excels in photorealism. Creates images that avoid the oversaturated 'AI look'. - **Provider**: replicate - **Model ID**: black-forest-labs/flux-krea-dev - **Category**: image_generation - **Credits**: 45 per request - **Pricing Type**: fixed ## API Endpoint Base URL: https://api.core.today/v1 ### Create Prediction POST /predictions ### Get Status GET /predictions/{job_id} ### Cancel DELETE /predictions/{job_id} ## Authentication Header: `X-API-Key: YOUR_API_KEY` ## Input Parameters - `aspect_ratio` (string, optional): Aspect ratio for the generated image - `image` (string, optional): Input image for image to image mode. The aspect ratio of your output will match this image - `num_outputs` (integer, optional): Number of outputs to generate - `seed` (integer, optional): Random seed. Set for reproducible generation - `go_fast` (boolean, optional): Run faster predictions with additional optimizations. - `megapixels` (string, optional): Approximate number of megapixels for generated image - `prompt_strength` (number, optional): Prompt strength when using img2img. 1.0 corresponds to full destruction of information in image - `output_quality` (integer, optional): Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs (Range: min: 0, max: 100) - `disable_safety_checker` (boolean, optional): Disable safety checker for generated images. - `output_format` (string, optional): Format of the output images - `guidance` (number, optional): Guidance for generated image. Lower values can give more realistic images. Good values to try are 2, 2.5, 3 and 3.5 - `prompt` (string, **required**): Prompt for generated image - `num_inference_steps` (integer, optional): Number of denoising steps. Recommended range is 28-50, and lower number of steps produce lower quality outputs, faster. ## Example Request ```json { "model": "black-forest-labs/flux-krea-dev", "input": { "aspect_ratio": "1:1", "num_outputs": 1, "output_format": "webp", "go_fast": true, "guidance": 3, "megapixels": "1", "prompt_strength": 0.8, "prompt": "a portrait photo from 2004 with glitchy CMYK errors producing very slight multiple images in cyan, yellow and magenta, those duplicates have a burnt effect", "output_quality": 80, "num_inference_steps": 28 } } ``` ## Response Format ```json { "job_id": "abc123", "status": "pending", "provider": "replicate", "model": "black-forest-labs/flux-schnell", "created_at": "2026-01-01T00:00:00Z", "result": null, "error": null } ``` Status values: `pending`, `processing`, `completed`, `failed`, `cancelled` ## Usage Flow 1. POST /predictions with model and input → receive job_id 2. Poll GET /predictions/{job_id} until status is `completed` or `failed` 3. Result contains output URL(s) or data ## Output Type json ## Tags text-to-image, photorealism, flux, image-generation, black-forest-labs, krea ## Documentation https://huggingface.co/black-forest-labs/FLUX.1-Krea-dev