Semantir API
Search
⌃K

For Landing Pages

Generate Hero Text

Example of Hero text generation
Python
curl
import requests
url = "https://api.semantir.com/v1/client-generate"
token = 'YOUR_TOKEN'
payload = {
"inputs": {
"name": "Angelfish",
"about": "Angelfish summer shoes are light, unisex, and come in a variety of colors.",
"language": "en"
},
"tool_category": "hero_text"
}
headers = {'Authorization': f'Bearer {token}'}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
curl -X POST "https://api.semantir.com/v1/client-generate" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"inputs\":{\"name\":\"Angelfish\",
\"about\":\"Angelfish summer shoes are light, unisex, and come in a variety of colors.\",
\"language\":\"en\"},
\"tool_category\":\"hero_text\"
}"

Generate Subheader

Example of the subheader generation
Python
curl
import requests
url = "https://api.semantir.com/v1/client-generate"
token = 'YOUR_TOKEN'
payload = {
"inputs": {
"name": "Angelfish",
"about": "Angelfish shoes are light, unisex, come in a variety of colors, water-resistant.",
"language": "en"
},
"tool_category": "subheader"
}
headers = {'Authorization': f'Bearer {token}'}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
curl -X POST "https://api.semantir.com/v1/client-generate" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"inputs\":{\"name\":\"Angelfish\",
\"about\":\"Angelfish summer shoes are light, unisex, and come in a variety of colors.\",
\"language\":\"en\"},
\"tool_category\":\"subheader\"
}"

Generate Persuasive Bullet Points

Example of the Persuasive Bullet Points generation
Python
curl
import requests
url = "https://api.semantir.com/v1/client-generate"
token = 'YOUR_TOKEN'
payload = {
"inputs": {
"name": "Colly",
"content": "Hand wash Colly is available in an array of festive fragrances. Naturally derived Colly gel hand wash will make your hands soft, clean.",
"language": "en"
},
"tool_category": "persuasive_bullet_points"
}
headers = {'Authorization': f'Bearer {token}'}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
curl -X POST "https://api.semantir.com/v1/client-generate" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"inputs\":
{\"name\":\"Colly\",
\"content\":\"Hand wash Colly is available in an array of festive fragrances. Naturally derived Colly gel hand wash will make your hands soft, clean.\",
\"language\":\"en\"},
\"tool_category\":\"persuasive_bullet_points\"
}"

Generate Engaging Questions

Example of Engaging Questions generation
Python
curl
import requests
url = "https://api.semantir.com/v1/client-generate"
token = 'YOUR_TOKEN'
payload = {
"inputs": {
"var_topic": "Bonaqua",
"var_audience": "people that love to drink water",
"var_tone": "humorous"
},
"tool_category": "engaging_questions"
}
headers = {'Authorization': f'Bearer {token}'}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
curl -X POST "https://api.semantir.com/v1/client-generate" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"inputs\":{
\"var_topic\":\"Bonaqua\",
\"var_audience\":\"people that love to drink water\",
\"var_tone\":\"humorous\"},
\"tool_category\":\"engaging_questions\"}
"