Authentication
const response = await fetch(`${api}/video-generation-jobs`, {
method: "POST",
headers: {
Authorization: `Bearer ${token}`, // Authentication
"Content-Type": "application/json",
},
body: JSON.stringify(job),
});
Last updated
Was this helpful?