# Text To Image

Distribute.ai bills text-to-image generations based on a per-megabyte step pricing model, giving users highly granular control over how much they pay for each image. Instead of flat rates, users are charged according to the number of generation steps and the output image size—both of which directly impact the compute duration required. Fewer steps and smaller image dimensions yield faster, lower-cost generations ideal for quick previews or lightweight use cases. Conversely, users can opt for more steps and larger outputs when they need higher fidelity, paying slightly more for enhanced quality.&#x20;

### Important Notes

* 1 megabyte-step  = 1 generated step on a 1024x1024 image.

{% tabs %}
{% tab title="Flux.1 \[dev]" %}

| Steps         | 256 x 256 | 512 x 512 | 768 × 768 |
| ------------- | --------- | --------- | --------- |
| 10            | $0.0008   | $0.003    | $0.0068   |
| 20            | $0.0016   | $0.006    | $0.0136   |
| 30            | $0.0023   | $0.009    | $0.0204   |
| {% endtab %}  |           |           |           |
| {% endtabs %} |           |           |           |

Stay tuned for more image models.

Pricing subject to change.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.distribute.ai/distribute-for-enterprise/enterprise-inference-api/billing/text-to-image.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
