MCPcopy
hub / github.com/SamurAIGPT/AI-Youtube-Shorts-Generator / _headers

Function _headers

shorts_generator/muapi.py:19–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17
18
19def _headers() -> Dict[str, str]:
20 return {
21 "Content-Type": "application/json",
22 "x-api-key": require_api_key(),
23 }
24
25
26def submit(endpoint: str, payload: Dict[str, Any], retries: int = 3) -> str:

Callers 2

submitFunction · 0.85
fetch_resultFunction · 0.85

Calls 1

require_api_keyFunction · 0.85

Tested by

no test coverage detected