zlm-v1-multi-iab-classify: Responses
curl --request POST \
--url https://api.zerogpu.ai/v1/responses \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"input": "¿Cuáles son los conceptos básicos del ejercicio y la aptitud física? El ejercicio regular es una de las mejores cosas que puede hacer por su salud.",
"model": "zlm-v1-multi-iab-classify"
}
'import requests
url = "https://api.zerogpu.ai/v1/responses"
payload = {
"input": "¿Cuáles son los conceptos básicos del ejercicio y la aptitud física? El ejercicio regular es una de las mejores cosas que puede hacer por su salud.",
"model": "zlm-v1-multi-iab-classify"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
input: '¿Cuáles son los conceptos básicos del ejercicio y la aptitud física? El ejercicio regular es una de las mejores cosas que puede hacer por su salud.',
model: 'zlm-v1-multi-iab-classify'
})
};
fetch('https://api.zerogpu.ai/v1/responses', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));falsepackage main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.zerogpu.ai/v1/responses"
payload := strings.NewReader("{\n \"input\": \"¿Cuáles son los conceptos básicos del ejercicio y la aptitud física? El ejercicio regular es una de las mejores cosas que puede hacer por su salud.\",\n \"model\": \"zlm-v1-multi-iab-classify\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}require 'uri'
require 'net/http'
url = URI("https://api.zerogpu.ai/v1/responses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"input\": \"¿Cuáles son los conceptos básicos del ejercicio y la aptitud física? El ejercicio regular es una de las mejores cosas que puede hacer por su salud.\",\n \"model\": \"zlm-v1-multi-iab-classify\"\n}"
response = http.request(request)
puts response.read_body{
"audience": [
{
"id": 419,
"parent_id": 415,
"name": "Physical Therapy",
"tier1_name": "Interest",
"tier2_name": "Healthy Living",
"tier3_name": "Wellness",
"score": 0.6441585183644298
},
{
"id": 406,
"parent_id": 206,
"name": "Healthy Living",
"tier1_name": "Interest",
"tier2_name": "Healthy Living",
"score": 0.5809985325902359
},
{
"id": 410,
"parent_id": 408,
"name": "Running and Jogging",
"tier1_name": "Interest",
"tier2_name": "Healthy Living",
"tier3_name": "Fitness and Exercise",
"score": 0.537299056216946
},
{
"id": 408,
"parent_id": 406,
"name": "Fitness and Exercise",
"tier1_name": "Interest",
"tier2_name": "Healthy Living",
"tier3_name": "Fitness and Exercise",
"score": 0.5202761720147232
}
],
"content": {
"iab_1_0": [
{
"code": "IAB7-1",
"name": "Exercise",
"tier": 2,
"parent_code": "IAB7",
"score": 0.8641673687946894
},
{
"code": "IAB7-36",
"name": "Physical Therapy",
"tier": 2,
"parent_code": "IAB7",
"score": 0.759118804822501
},
{
"code": "IAB7",
"name": "Health & Fitness",
"tier": 1,
"parent_code": null,
"score": 0.661015418108041
}
],
"iab_2_2": [
{
"id": 225,
"parent_id": 223,
"name": "Fitness and Exercise",
"tier1_name": "Healthy Living",
"tier2_name": "Fitness and Exercise",
"score": 0.8641673687946894
},
{
"id": 236,
"parent_id": 232,
"name": "Physical Therapy",
"tier1_name": "Healthy Living",
"tier2_name": "Wellness",
"tier3_name": "Physical Therapy",
"score": 0.759118804822501
},
{
"id": 286,
"parent_id": 0,
"name": "Medical Health",
"tier1_name": "Medical Health",
"score": 0.661015418108041
},
{
"id": 223,
"parent_id": 0,
"name": "Healthy Living",
"tier1_name": "Healthy Living",
"score": 0.6522893285516443
},
{
"id": 298,
"parent_id": 287,
"name": "Injuries",
"tier1_name": "Medical Health",
"tier2_name": "Diseases and Conditions",
"tier3_name": "Injuries",
"score": 0.5958264131933557
}
]
},
"topics": [
{
"name": "fitness and exercise",
"score": 0.8641673687946894
},
{
"name": "physical therapy",
"score": 0.759118804822501
},
{
"name": "medical health",
"score": 0.661015418108041
},
{
"name": "healthy living",
"score": 0.6522893285516443
},
{
"name": "injuries",
"score": 0.5958264131933557
}
],
"keywords": [
"conceptos",
"ejercicio",
"aptitud",
"regular",
"mejores",
"sicos",
"cosas",
"puede",
"hacer",
"sica"
],
"user_intent": {
"name": "insights on les son los conceptos sicos del",
"category": "informational",
"score": 0.5
}
}{}By model
zlm-v1-multi-iab-classify
Model details for zlm-v1-multi-iab-classify. IAB content and audience classification for non-English text.
POST
/
responses
zlm-v1-multi-iab-classify: Responses
curl --request POST \
--url https://api.zerogpu.ai/v1/responses \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"input": "¿Cuáles son los conceptos básicos del ejercicio y la aptitud física? El ejercicio regular es una de las mejores cosas que puede hacer por su salud.",
"model": "zlm-v1-multi-iab-classify"
}
'import requests
url = "https://api.zerogpu.ai/v1/responses"
payload = {
"input": "¿Cuáles son los conceptos básicos del ejercicio y la aptitud física? El ejercicio regular es una de las mejores cosas que puede hacer por su salud.",
"model": "zlm-v1-multi-iab-classify"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
input: '¿Cuáles son los conceptos básicos del ejercicio y la aptitud física? El ejercicio regular es una de las mejores cosas que puede hacer por su salud.',
model: 'zlm-v1-multi-iab-classify'
})
};
fetch('https://api.zerogpu.ai/v1/responses', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));falsepackage main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.zerogpu.ai/v1/responses"
payload := strings.NewReader("{\n \"input\": \"¿Cuáles son los conceptos básicos del ejercicio y la aptitud física? El ejercicio regular es una de las mejores cosas que puede hacer por su salud.\",\n \"model\": \"zlm-v1-multi-iab-classify\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}require 'uri'
require 'net/http'
url = URI("https://api.zerogpu.ai/v1/responses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"input\": \"¿Cuáles son los conceptos básicos del ejercicio y la aptitud física? El ejercicio regular es una de las mejores cosas que puede hacer por su salud.\",\n \"model\": \"zlm-v1-multi-iab-classify\"\n}"
response = http.request(request)
puts response.read_body{
"audience": [
{
"id": 419,
"parent_id": 415,
"name": "Physical Therapy",
"tier1_name": "Interest",
"tier2_name": "Healthy Living",
"tier3_name": "Wellness",
"score": 0.6441585183644298
},
{
"id": 406,
"parent_id": 206,
"name": "Healthy Living",
"tier1_name": "Interest",
"tier2_name": "Healthy Living",
"score": 0.5809985325902359
},
{
"id": 410,
"parent_id": 408,
"name": "Running and Jogging",
"tier1_name": "Interest",
"tier2_name": "Healthy Living",
"tier3_name": "Fitness and Exercise",
"score": 0.537299056216946
},
{
"id": 408,
"parent_id": 406,
"name": "Fitness and Exercise",
"tier1_name": "Interest",
"tier2_name": "Healthy Living",
"tier3_name": "Fitness and Exercise",
"score": 0.5202761720147232
}
],
"content": {
"iab_1_0": [
{
"code": "IAB7-1",
"name": "Exercise",
"tier": 2,
"parent_code": "IAB7",
"score": 0.8641673687946894
},
{
"code": "IAB7-36",
"name": "Physical Therapy",
"tier": 2,
"parent_code": "IAB7",
"score": 0.759118804822501
},
{
"code": "IAB7",
"name": "Health & Fitness",
"tier": 1,
"parent_code": null,
"score": 0.661015418108041
}
],
"iab_2_2": [
{
"id": 225,
"parent_id": 223,
"name": "Fitness and Exercise",
"tier1_name": "Healthy Living",
"tier2_name": "Fitness and Exercise",
"score": 0.8641673687946894
},
{
"id": 236,
"parent_id": 232,
"name": "Physical Therapy",
"tier1_name": "Healthy Living",
"tier2_name": "Wellness",
"tier3_name": "Physical Therapy",
"score": 0.759118804822501
},
{
"id": 286,
"parent_id": 0,
"name": "Medical Health",
"tier1_name": "Medical Health",
"score": 0.661015418108041
},
{
"id": 223,
"parent_id": 0,
"name": "Healthy Living",
"tier1_name": "Healthy Living",
"score": 0.6522893285516443
},
{
"id": 298,
"parent_id": 287,
"name": "Injuries",
"tier1_name": "Medical Health",
"tier2_name": "Diseases and Conditions",
"tier3_name": "Injuries",
"score": 0.5958264131933557
}
]
},
"topics": [
{
"name": "fitness and exercise",
"score": 0.8641673687946894
},
{
"name": "physical therapy",
"score": 0.759118804822501
},
{
"name": "medical health",
"score": 0.661015418108041
},
{
"name": "healthy living",
"score": 0.6522893285516443
},
{
"name": "injuries",
"score": 0.5958264131933557
}
],
"keywords": [
"conceptos",
"ejercicio",
"aptitud",
"regular",
"mejores",
"sicos",
"cosas",
"puede",
"hacer",
"sica"
],
"user_intent": {
"name": "insights on les son los conceptos sicos del",
"category": "informational",
"score": 0.5
}
}{}The
instructions field is not needed for this model. Send only the text to
classify. The result arrives as a JSON string in the response’s output text,
so parse that string to read audience, content (iab_1_0 and iab_2_2),
topics, keywords, and user_intent.The multilingual variant of ZeroGPU’s IAB classifier returns the same full content-intelligence profile as the enriched edge model, for text that is not in English. One call gives you IAB categories across both the 1.0 and 2.2 taxonomies, audience and interest segments, topics, keywords, and user intent, every result scored for confidence. At 90M parameters it keeps the sub-millisecond profile the bidstream needs, so a multi-market publisher can run one classification pipeline instead of one per language. When your inventory spans languages and you still need clean IAB signals on every request, this is the model.Supports batch processing through the Batch API. This model is a sibling of zlm-v2-iab-classify-edge-enriched; reach for that one when the text is English. References: Terms • Privacy
Authorizations
Headers
Optional project identifier. Scopes the request to a specific project when provided.
Body
application/json
Model identifier (fixed for this playground). Use request examples to change use cases.
Allowed value:
"zlm-v1-multi-iab-classify"Example:
"zlm-v1-multi-iab-classify"
The text to classify, as a plain string, in any supported language. Inputs are truncated at 400 tokens.
Required string length:
1 - 131072Response
Success
The response is of type object.
⌘I

