Developer workflow · Dify
Connect Dify to a compatible model endpoint.
Dify can connect to compatible model providers through its model-provider settings. This guide focuses on the fields that must match: endpoint, key, provider type and model ID.
Who this is for
You are building a Dify workflow and want to point its model provider at a compatible endpoint. Dify settings and provider names change over time, so follow the labels in your installed version.
Configuration steps
Open model provider settings
In the Dify workspace, open Settings and Model Providers. Look for an OpenAI-compatible provider or a custom OpenAI provider.
Set the endpoint and key
Use https://aimyria.com/v1 as the Base URL and enter a key created in your own account. Store credentials in Dify’s protected provider settings.
Register the model
Add the exact model ID from the current catalog. Choose the matching chat or completion capability shown by the catalog and by your Dify version.
Run a small workflow
Test a short workflow before connecting production data. Keep the first prompt and output simple so an endpoint or model error is easy to identify.
Start with placeholders
Replace them only in your private settings.
Base URL: https://aimyria.com/v1
API key: YOUR_OWN_API_KEY
Model: COPY_THE_EXACT_ID_FROM_THE_CATALOGUse the model catalog to copy the current model ID. The public existing setup tutorial explains the general account and key flow.
Common issues
- 401: check the provider credential and account key, then save the provider settings again.
- Model unavailable: use a current catalog ID and confirm its capability matches your Dify node.
- Timeout or empty output: test the same key and model with cURL to separate Dify configuration from endpoint behavior.
Credentials and usage scope
Use a key belonging to your own account and follow the service terms and upstream model policies. Never place a key in browser code, a public repository or a shared screenshot.
Next step
After confirming regional availability, open the public overview, tutorial or model catalog and finish the setup with your own account.