> ## Documentation Index
> Fetch the complete documentation index at: https://docs.iacrea.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Blue Sky

> Replace a gray sky with a bright blue sky

# Blue Sky

Automatically transform your gray or cloudy skies into perfect blue skies to enhance the appeal of your exterior photos.

## How It Works

Our AI intelligently detects the sky in your image and replaces it with a natural blue sky, while preserving all foreground details.

## Use Cases

* More attractive real estate photos for listings
* Consistent images for architecture portfolios
* Enhancement of properties and exterior landscapes
* Quality photos without waiting for ideal weather

## API

Integrate this feature into your applications:

```bash theme={null}
curl --request POST \
--url 'https://iacrea.com/api/sky/generate' \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
  "user_id": "your-user-id",
  "image_url": "https://example.com/exterior.jpg"
}'
```

### Generate a Variation

You can also create variations from a previous generation:

```bash theme={null}
curl --request POST \
--url 'https://iacrea.com/api/sky/generate-variation' \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
  "user_id": "your-user-id",
  "generation_id": "previous-generation-id"
}'
```

### Retrieve Results

Get the results of a generation:

```bash theme={null}
curl --request POST \
--url 'https://iacrea.com/api/sky/get' \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
  "user_id": "your-user-id",
  "generation_id": "your-generation-id"
}'
```

## Tips

* Use photos where the sky is clearly visible
* For complex areas (trees, fine structures), use high-resolution images
* Test different variations to get the optimal result
* The process uses multiple natural blue skies for varied results
