Loading…
Use this page to configure input, run a prediction, inspect status and output, and then lift the same call pattern into your product.
Generation requires server-side safety screening. No generation starts while screening is unconfigured or unavailable. The SaaS Kit does not include AI credits. Acceptable use and reporting
curl -s -X POST https://www.founderhooks.com/api/v1/predictions \
-H "Authorization: Bearer $FOUNDERHOOKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "lightricks/ltx-video",
"version": "8c47da666861d081eeb4d1261853087de23923a268a69b63febdf5dc1dee08e4",
"input": {
"prompt": "Generate a polished product visual for an AI platform homepage"
},
"wait": 10
}'const response = await fetch("https://www.founderhooks.com/api/v1/predictions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.FOUNDERHOOKS_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "lightricks/ltx-video",
version: "8c47da666861d081eeb4d1261853087de23923a268a69b63febdf5dc1dee08e4",
input: {
"prompt": "Generate a polished product visual for an AI platform homepage"
},
wait: 10,
}),
});
const prediction = await response.json();import os
import requests
response = requests.post(
"https://www.founderhooks.com/api/v1/predictions",
headers={
"Authorization": "Bearer " + os.environ["FOUNDERHOOKS_API_KEY"],
"Content-Type": "application/json",
},
json={
"model": "lightricks/ltx-video",
"version": "8c47da666861d081eeb4d1261853087de23923a268a69b63febdf5dc1dee08e4",
"input": {
"prompt": "Generate a polished product visual for an AI platform homepage"
},
"wait": 10,
},
)
print(response.json())