Whether a video spec preset can be filled from a document
available is false when no Anthropic key is set up (reason no_key) or this month's AI budget is spent (reason limit); the preset editor offers Fill from document only while it is true.
Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/video-requirements/preset-from-document.do
available is false when no Anthropic key is set up (reason no_key) or this month's AI budget is spent (reason limit); the preset editor offers Fill from document only while it is true. Also answers the size limits a document is held to: a PDF, an image, a text or HTML file or downloaded page, and pasted text. Requires the VIDEO_REQUIREMENT_PRESETS admin permission and an Anthropic key: the user's own, the network's, or Epom's while the network's plan includes it.
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://YOUR-NETWORK-DOMAIN/rest-api/video-requirements/preset-from-document.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());