activity-generation-api / .env.example
mjpsm's picture
Deploy MyVillage Activity Generation API
9c9ef1d verified
Raw History Blame Contribute Delete
811 Bytes
# Base URLs auto-discover the POST route from /openapi.json.
# Or enter FULL real POST URLs, e.g. https://...hf.space/your-post-route.
PROGRESSION_API_URL=https://mjpsm-activity-progression-api.hf.space
COMPOSITION_API_URL=https://mjpsm-activity-composition-api.hf.space
INSTRUCTION_API_URL=https://mjpsm-activity-instruction-api.hf.space
# Leave empty for public Spaces. Set when upstream endpoints require HF authorization.
HF_TOKEN=
# Optional X-API-Key required from MyVillage clients when nonempty.
API_KEY=
READ_TIMEOUT_SECONDS=240
MAX_ATTEMPTS=2
# Change ONLY if the stage API's Swagger request schema differs:
# COMPOSITION_INPUT_STYLE=direct | input | bare
# INSTRUCTION_INPUT_STYLE=direct | nested_output | input | input_nested_output
COMPOSITION_INPUT_STYLE=direct
INSTRUCTION_INPUT_STYLE=direct