Getting Started
Supported Platforms
Security and Permissions
Rate Limits and Quotas
User-Pays Model
Framework Integrations
MCP Server
CLI
Deployments
Site Configuration
Examples
chat()
txt2img()
txt2speech()
speech2txt()
img2txt()
txt2vid()
speech2speech()
realtime()
Realtime WebSocket API (Beta)
listModels()
listModelProviders()
txt2speech.listEngines()
txt2speech.listVoices()
set()
get()
del()
list()
incr()
decr()
update()
add()
remove()
expire()
expireAt()
flush()
share()
unshare()
listShared()
listSharedByMe()
MAX_KEY_SIZE
MAX_VALUE_SIZE
write()
read()
upload()
readdir()
mkdir()
delete()
stat()
rename()
move()
copy()
getReadURL()
revokeReadURL()
getShares()
getShareLink()
space()
signIn()
isSignedIn()
signOut()
getUser()
getProfile()
getProfilePicture()
getMonthlyUsage()
getDetailedAppUsage()
create()
attach()
router
exec()
Dynamic Workers
TypeScript Types
fetch()
Socket
TLSSocket
serve()
connect()
createGuestGrant()
ensureTurnRelays()
onLocal()
off()
onPersistent()
unsubscribe()
onSchedule()
listSchedules()
getSchedule()
updateSchedule()
removeSchedule()
handlers
workers
Subjects and events
notify()
onNotification()
on()
dismiss()
markShown()
cancel()
Push notifications for your app