Skip to main content
Inception API supports streaming output and diffusion effect modes:
  • Streaming: Get responses block-by-block for instant feedback—ideal for chat and live applications.
  • Diffusing: Optionally visualize how noisy outputs are refined into final text, showcasing the model’s iterative denoising process.
Export your API key as an environment variable in your terminal.

Streaming

Stream the response block-by-block as it is generated.

Diffusion

Set diffusing to true to stream the model’s intermediate denoising steps. Each chunk contains the full text as it is refined into the final answer.
The diffusing effect is best shown by overwriting the displayed text on each step. Here is an example in a web app using JavaScript: