llms.txtllms-full.txt
DashboardStatusGet API Key
IntroductionQuickstartModelsPricingArchitecture & SecurityLimits & Quotas
Execution Modes & HTTP QueueWebhooksWebSocketsMCP Servern8n Integrationn8n dryAPI node
API OverviewErrorsText-to-ImagePOSTText-to-Image Price CalculationPOSTText-to-VideoPOSTText-to-Video Price CalculationPOSTImage-to-VideoPOSTImage-to-Video Price CalculationPOSTAudio-to-VideoPOSTAudio-to-Video Price CalculationPOSTText-to-Speech (TTS)POSTText-to-Speech Price CalculationPOSTText-to-MusicPOSTText-to-Music Price CalculationPOSTText-to-EmbeddingPOSTText-to-Embedding Price CalculationPOSTImage-to-ImagePOSTImage-to-Image Price CalculationPOSTImage Background RemovalPOSTImage Background Removal Price CalculationPOSTImage UpscalePOSTImage Upscale Price CalculationPOST
OpenAPI
SDKs & IntegrationsPayment MethodsFAQ — Frequently Asked QuestionsSupport & Contact
dAdryAPI
DashboardStatusGet API Key
API
Technical Reference

Image-to-Image Price Calculation

Technical documentation for dryAPI APIs, integration guides, and operational references.

Endpoint for calculating price for img2img inference

OpenAPI

Request Price For Image2 Image

POST
/api/v1/client/img2img/price-calculation

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Header Parameters

Accept*string
Default"application/json"
Value in"application/json"

Request Body

application/json

Image generation parameters

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.dryapi.dev/api/v1/client/img2img/price-calculation" \  -H "Accept: application/json" \  -H "Content-Type: application/json" \  -d '{    "prompt": "A beautiful sunset over mountains",    "model": "QwenImageEdit_Plus_NF4",    "steps": 20,    "seed": 42  }'
{
  "data": {
    "price": 0.25
  }
}
{
  "data": {},
  "message": "string",
  "errors": [
    null
  ],
  "statusCode": 0
}
{
  "data": {},
  "message": "string",
  "errors": [
    null
  ],
  "statusCode": 0
}
{
  "message": "The selected model does not support Text To Image.",
  "errors": {
    "model": [
      "The selected model does not support Text To Image."
    ]
  }
}
{
  "message": "Too Many Attempts."
}
Last updated on 21 March 2026

POST Image-to-Image

Previous Page

POST Image Background Removal

Next Page

prompt*string

The main prompt for image generation

negative_prompt?|

Elements to avoid in the generated image

model*string

The model to use for generation

loras?array<>

Array of LoRA models to apply

guidance?number

Guidance scale for the generation

steps*integer

Number of inference steps

seed*integer

Random seed for generation