Leonardo-Interactive / leonardo-ts-sdk

Typescript SDK for Leonardo AI
MIT License
52 stars 16 forks source link

createSVDMotionGeneration empty object #80

Open aivanouski opened 6 months ago

aivanouski commented 6 months ago

looks like return empty object and no sdGenerationJob

how to works with Motion API ?

aivanouski commented 6 months ago

now here is: when get generation by id

cause: ZodError: [
    {
      "expected": "'KLMS' | 'EULER_ANCESTRAL_DISCRETE' | 'EULER_DISCRETE' | 'DDIM' | 'DPM_SOLVER' | 'PNDM' | 'LEONARDO'",
      "received": "null",
      "code": "invalid_type",
      "path": [
        "object",
        "generations_by_pk",
        "scheduler"
      ],
      "message": "Expected 'KLMS' | 'EULER_ANCESTRAL_DISCRETE' | 'EULER_DISCRETE' | 'DDIM' | 'DPM_SOLVER' | 'PNDM' | 'LEONARDO', received null"
    },
    {
      "expected": "'v1_5' | 'v2' | 'v3' | 'SDXL_0_8' | 'SDXL_0_9' | 'SDXL_1_0' | 'SDXL_LIGHTNING'",
      "received": "null",
      "code": "invalid_type",
      "path": [
        "object",
        "generations_by_pk",
        "sdVersion"
      ],
      "message": "Expected 'v1_5' | 'v2' | 'v3' | 'SDXL_0_8' | 'SDXL_0_9' | 'SDXL_1_0' | 'SDXL_LIGHTNING', received null"
    }
  ]