Skip to main content
POST
/
v2
/
tasks
/
cost
Calculate Task Cost
curl --request POST \
  --url https://api.eden.art/v2/tasks/cost \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '{
  "tool": "<string>",
  "args": {}
}'
{
  "cost": 123
}

Authorizations

X-Api-Key
string
header
required

Body

application/json
tool
string
required

Tool key

args
object
required

Tool arguments

Response

200 - */*

Default Response

cost
number
required

Estimated cost in manna

I