TaskModel: {
    api_task_callback?: string;
    api_task_id?: string;
    bookmarked?: boolean;
    created_at?: string;
    id: string;
    name?: string;
    params: Record<string, any>;
    position?: number;
    priority?: number;
    result?: string;
    status?: string;
    type: string;
    updated_at?: string;
}

Type declaration

  • Optional api_task_callback?: string
  • Optional api_task_id?: string
  • Optional bookmarked?: boolean
  • Optional created_at?: string

    The time when the task was created

  • id: string
  • Optional name?: string
  • params: Record<string, any>

    The parameters of the task in JSON format

  • Optional position?: number
  • Optional priority?: number
  • Optional result?: string

    The result of the task in JSON format

  • Optional status?: string

    Either pending, running, done or failed

  • type: string

    Either txt2img or img2img

  • Optional updated_at?: string

    The time when the task was updated