Skip to content

feat: add Astraflow provider support#149

Open
ucloudnb666 wants to merge 1 commit into
AIDC-AI:mainfrom
ucloudnb666:feat/astraflow-1778748706
Open

feat: add Astraflow provider support#149
ucloudnb666 wants to merge 1 commit into
AIDC-AI:mainfrom
ucloudnb666:feat/astraflow-1778748706

Conversation

@ucloudnb666
Copy link
Copy Markdown

Summary

Adds Astraflow (by UCloud / 优刻得) as a supported LLM provider preset.

Astraflow is an OpenAI-compatible AI model aggregation platform supporting 200+ models. Because it is fully OpenAI SDK–compatible, the integration only requires adding the base_url and api_key_url — no new SDK or subpackage needed.

Changes

pixelle_video/llm_presets.py

  • Added "Astraflow" preset (global endpoint: https://api-us-ca.umodelverse.ai/v1)
  • Added "Astraflow CN" preset (China endpoint: https://api.modelverse.cn/v1)

config.example.yaml

  • Added comment examples for both Astraflow global and China endpoints under the LLM presets section

Provider Details

Field Global China
base_url https://api-us-ca.umodelverse.ai/v1 https://api.modelverse.cn/v1
API key signup https://astraflow.ucloud-global.com https://astraflow.ucloud.cn
Env var ASTRAFLOW_API_KEY ASTRAFLOW_CN_API_KEY

Both endpoints follow the same OpenAI SDK protocol already used by every other preset in this project.

Signed-off-by: ucloudnb666 <ucloudnb666@users.noreply.github.com>
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 14, 2026

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants