Photon
Democratize model training and inference across the team.
Credits:$1.00
DocsAPI Reference

API Reference

Complete reference for the Photon API

Base URL

https://api.fundamental-photon.xyz

Use unified endpoints in either OpenAI or Anthropic format to run inference on deployed models.

OpenAI Format

POSThttps://api.fundamental-photon.xyz/api/inference/v1/chat/completions

Anthropic Format

POSThttps://api.fundamental-photon.xyz/api/inference/v1/messages

Deploy, manage, and deactivate checkpoint models from Modal Storage with GPU resources.

Deploy Checkpoint

POSThttps://api.fundamental-photon.xyz/api/checkpoints

List Checkpoints

GEThttps://api.fundamental-photon.xyz/api/checkpoints

Deactivate Checkpoint

POSThttps://api.fundamental-photon.xyz/api/checkpoints/deactivate

List Models

GEThttps://api.fundamental-photon.xyz/api/models

Get Model

GEThttps://api.fundamental-photon.xyz/api/models/{id}

Create Model

POSThttps://api.fundamental-photon.xyz/api/models

Update Model

PUThttps://api.fundamental-photon.xyz/api/models/{id}

Delete Model

DELETEhttps://api.fundamental-photon.xyz/api/models/{id}

Deploy Model

POSThttps://api.fundamental-photon.xyz/api/models/{id}/deploy-smart

Stream Deployment Progress

GEThttps://api.fundamental-photon.xyz/api/models/{id}/deployment-progress

Check the health and availability of the Photon API.

API Health

GEThttps://api.fundamental-photon.xyz/api/health

Authentication

API keys are optional for the current endpoints. If authentication is required, include your API key in the appropriate header based on the format you're using.

OpenAI Format:

Authorization: Bearer YOUR_API_KEY

Anthropic Format:

x-api-key: YOUR_API_KEY

Need Help?

Check out our documentation or contact support