PhotonSphere on the command line
For developers and automations: create, estimate, follow and download videos from the terminal, and call any tool of the PhotonSphere MCP server. No dependencies (Node 18 or newer).
You need an API key (Developers) and a plan with API. Developers
npm install -g nok-cli nok login --url https://photonsphere.ai --key nok_YOUR_KEY nok balance nok estimate --script script.txt nok create --name "Octopus hearts" --script script.txt --cover1 "Three hearts" --cover2 "One stops" --start nok wait <id> nok download <id> -o octopus.mp4 nok tools nok call nok_search_viral --query "ocean facts"
Starting a video spends credits exactly like in the app. Estimate first. MCP · Skills