List available workflow capabilities
curl --request GET \
--url https://api.infery.ai/v1/tools \
--header 'Authorization: <api-key>'import requests
url = "https://api.infery.ai/v1/tools"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.infery.ai/v1/tools', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.infery.ai/v1/tools",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.infery.ai/v1/tools"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.infery.ai/v1/tools")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.infery.ai/v1/tools")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"object": "list",
"data": [
{
"id": "image.resize",
"object": "capability",
"category": "image",
"display_name": "Resize image",
"description": "Resize image to target dimensions.",
"input_modality": "image",
"output_modality": "image",
"params_schema": {},
"input_schema": {},
"long_description": "<string>",
"composite": true,
"sample_input": {
"image_url": "https://example.com/photo.png"
},
"examples": [
{
"title": "800×600 cover",
"params": {
"width": 800,
"height": 600,
"fit": "cover"
}
}
],
"pricing": {
"currency": "credits",
"unit": "per_operation",
"input_per_million": 123,
"output_per_million": 123,
"audio_input_per_million": 123,
"audio_output_per_million": 123,
"image_input_per_million": 123,
"image_output_per_million": 123,
"cached_input_per_million": 123,
"cache_write_per_million": 123,
"cache_write_1h_per_million": 123,
"request_price": 123,
"image_price": 123,
"second_price": 123,
"minute_price": 123,
"character_price": 123,
"operation_price": 123,
"megapixel_price": 123
}
}
]
}{
"error": {
"message": "Model not found",
"type": "invalid_request_error",
"code": "model_not_found",
"param": "model",
"job_id": "job_1hR9xTPZqK4mVLc2nJ7fY5wB"
}
}Capabilities
List capabilities
GET /v1/tools
GET
/
v1
/
tools
List available workflow capabilities
curl --request GET \
--url https://api.infery.ai/v1/tools \
--header 'Authorization: <api-key>'import requests
url = "https://api.infery.ai/v1/tools"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.infery.ai/v1/tools', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.infery.ai/v1/tools",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.infery.ai/v1/tools"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.infery.ai/v1/tools")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.infery.ai/v1/tools")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"object": "list",
"data": [
{
"id": "image.resize",
"object": "capability",
"category": "image",
"display_name": "Resize image",
"description": "Resize image to target dimensions.",
"input_modality": "image",
"output_modality": "image",
"params_schema": {},
"input_schema": {},
"long_description": "<string>",
"composite": true,
"sample_input": {
"image_url": "https://example.com/photo.png"
},
"examples": [
{
"title": "800×600 cover",
"params": {
"width": 800,
"height": 600,
"fit": "cover"
}
}
],
"pricing": {
"currency": "credits",
"unit": "per_operation",
"input_per_million": 123,
"output_per_million": 123,
"audio_input_per_million": 123,
"audio_output_per_million": 123,
"image_input_per_million": 123,
"image_output_per_million": 123,
"cached_input_per_million": 123,
"cache_write_per_million": 123,
"cache_write_1h_per_million": 123,
"request_price": 123,
"image_price": 123,
"second_price": 123,
"minute_price": 123,
"character_price": 123,
"operation_price": 123,
"megapixel_price": 123
}
}
]
}{
"error": {
"message": "Model not found",
"type": "invalid_request_error",
"code": "model_not_found",
"param": "model",
"job_id": "job_1hR9xTPZqK4mVLc2nJ7fY5wB"
}
}The capability catalogue: the deterministic media, document, archive, web and code operations that workflow steps — and
POST /v1/capabilities/{id}/run — can invoke.
These are not inference models. GET /v1/models lists those. A capability does a fixed job (resize this, extract that) at a fixed price; a model generates.Authorizations
API key in format: Bearer inf_***
Response
The full capability catalogue. Entries are ordered by category (video, audio, image, document, archive, web, code).