Skip to content

Token Factory ​

Use Token Factory to generate text, images, or videos from your application. Choose a model, send a prompt, and receive the result through the API. You can use these APIs without setting up a model server.

Choose an API ​

Choose the service you want to connect to.

APIRequestResult
BytePlusA prompt, with optional reference mediaA task ID you use to check when the video is ready
TextChat messagesText in an OpenAI-compatible response
ImageA prompt, with source images for supported modelsA job ID you use to check when the image is ready

Get started ​

  1. Create a Token Factory key in API keys.
  2. Choose a model from the BytePlus, Text, or Image guide.
  3. Send a request with the key in the Authorization: Bearer <api-key> header.
  4. For text, read the response from that request. For images and videos, check the task's status until it succeeds, then download the result.

Other products ​

Use Virtual Machine for a Linux environment with root access, or Kubernetes to run your own containers. Use Comfy for a hosted image workflow in the console.

  • Read API keys to create and manage access keys.
  • Read BytePlus to generate and download a video.
  • Read Text to submit a chat-completion request.
  • Read Image to send your first image-generation request.

RemoteGPU customer documentation