Generate videos and images using AI models through the Chenyu Studio AIGC orchestration API.
Authorization: Bearer $CHENYU_API_KEY
Base URL: $CHENYU_BASE_URL (default: https://chenyu.pro)
curl -s "$CHENYU_BASE_URL/api/v1/aigc/recipes" \
-H "Authorization: Bearer $CHENYU_API_KEY" | jq '.data[] | {recipe_id, name, slug, description, output_type}'
Each recipe represents an AI model capability. Key response fields:
recipe_id — use this ID when executingslug — human-readable identifier (e.g. volcengine-seedance-v1-pro)output_type — what it produces: video, image, audiocurl -s "$CHENYU_BASE_URL/api/v1/aigc/recipes/{recipe_id}/schema" \
-H "Authorization: Bearer $CHENYU_API_KEY" | jq '.data'
The schema tells you:
typed_inputs_schema.definitions — accepted input types and their fieldsparameters_schema — available parameters with constraints (min/max/enum)credit_cost / credit_cost_rules — how many credits it costsAfter getting the schema, read execute-recipe.md for execution details.
共 1 个版本