Sogni AI icon

Sogni AI

Generate AI images, videos, and LLM responses using Sogni AI Supernet

Actions18

Model → Get

AI-generated

Summary

The model get operation retrieves a specific model's data from the Sogni AI database, returning model identification, name, worker count, and recommended settings. The operation uses modelSearch to filter the model dropdown and requires modelId as a required parameter.

Inputs

  • modelSearch (required) — Type to filter models by name/tag. The dropdown below refreshes when you edit this field.
  • modelId (required) — The model to retrieve. Required and must be selected from the filtered dropdown.

Output shape

json

Returns { id: string, name: string, workerCount: number, recommendedSettings: any }. This data reflects the model's metadata as fetched from the client.

Examples

Example 1: Retrieve a specific model's details for further processing in a workflow.

modelSearch='flux' AND modelId='flux1-schnell-fp8' → returns model metadata including workerCount and recommendedSettings.

Discussion