Skip to main content
Bytez is able to automatically process any model on Huggingface. To request a model, you must hit our endpoint at: https://api.bytez.com/models/v2/request/{modelId}

Request a model

Example model ID: Finisha-F-scratch/Lamina-basic Endpoint used in the examples below: https://api.bytez.com/models/v2/request/Finisha-F-scratch/Lamina-basic
const url = 'https://api.bytez.com/models/v2/request/Finisha-F-scratch/Lamina-basic';

fetch(url, {
  method: 'POST',
})
  .then((response) => response.json())
  .then((data) => {
    console.log('Response:', data);
  })
  .catch((error) => {
    console.error('Error:', error);
  });

Expected Response

{
  "error": null,
  "output": "Job queued"
}