Skip to main content
  1. Grab your team id from the dashboard by clicking on your team name or selecting “All Projects”
  2. Get your API keys (client id and client secret) from the “Your Workflows” tab of the dashboard.
  3. Make a POST to this endpoint: https://api.viewcomfy.com/api/v1/team/add-models
Headers:
{
    "client_id": <YOUR_CLIENT_ID>,
    "client_secret": <YOUR_CLIENT_SECRET>,
    "Content-Type": "application/json"
}
Body:
{
    "notification_email": "[email protected]",
    "team_id": <YOUR_TEAM_ID>,
    "custom_models": [
        {
            "model_url": "https://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/ae.safetensors",
            "path": "vae/ae.safetensors",
            "headers": {
                "Authorization": "Bearer <YOUR_HF_TOKEN>"
            }
        },
        {
            "model_url": "https://huggingface.co/lodestones/stable-diffusion-3-medium/resolve/4a708bd3d18c10253247f8660cd4ffae6cd63bf1/stable-diffusion-3-medium/text_encoders/text_encoders.safetensors",
            "path": "text_encoders/text_encoders.safetensors"
        }
    ]
}