---
title: "Get Generation Cost"
method: GET
path: "/api/v1/generate/cost"
tags: ["Generation"]
---

# Get Generation Cost

`GET /api/v1/generate/cost`

## Request

- Base URL: `https://foto.damdafa.com/dreamhome`
- URL: `https://foto.damdafa.com/dreamhome/api/v1/generate/cost`
- Auth: HTTP bearer

Return estimated generation cost for quality tiers.

## Headers

- `ProviderId` 'firebase' | 'google' | 'apple'
- `X-Provider-Id` 'firebase' | 'google' | 'apple'
- `X-Device-Id` string, nullable

## Response `200`

Successful Response

- GenerationCostResponse: Estimated generation costs by quality tier.
  - `cheap` number, required
  - `fast` number, required
  - `best` number, required

## Other responses

- `401`: Unauthorized
- `422`: Validation Error
- `500`: Internal Server Error

---

[API](https://skmtc.dev/damdafa/apis/homedecor-api.md) · [All operations](https://skmtc.dev/damdafa/apis/homedecor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/damdafa/apis/homedecor-api/revisions/372f33a6d18e?raw)
