POST
/
api
/
v1
/
client
/
img2img
/
price-calculation
Image to Image Price Calculation
curl --request POST \
  --url https://api.modelbeam.srv1069417.hstgr.cloud/api/v1/client/img2img/price-calculation \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>",
  "model": "Flux_2_Klein_4B_BF16",
  "steps": 123,
  "seed": 123,
  "negative_prompt": "<string>",
  "width": 123,
  "height": 123,
  "guidance": 123
}
'
{
  "data": {
    "price": 0.0066
  }
}

Body

application/json
prompt
string
required
model
string
required
Example:

"Flux_2_Klein_4B_BF16"

steps
integer
required
seed
integer
required
negative_prompt
string
width
integer
height
integer
guidance
number

Response

Price calculated

data
object