Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

animation API errors

オープン
#263 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
opencv, python
領域
ai, api

調査の方向性

The failure is reported at src/stability_sdk/animation.py:217-219 in cv2_to_pil; start by reproducing the animation request with the listed model versions and inspecting the returned frame data before conversion. Done means identifying why no frames are available and documenting or fixing the resulting error path, with a regression check for the affected API response.

索引モデルが issue の本文から書いたものです。

説明

I'm using the animation API and getting

TypeError: 'NoneType' object is not subscriptable

here:
https://github.com/Stability-AI/stability-sdk/blob/main/src/stability_sdk/animation.py#L217-L219

def cv2_to_pil(cv2_img: np.ndarray) -> Image.Image:
    """Convert a cv2 BGR ndarray to a PIL Image"""
    return Image.fromarray(cv2_img[:, :, ::-1])

I guess this is just a symptom that the animation API isn't returning any frames.

I've tried with various model versions:

    # "model": "stable-diffusion-v1-5",
    # "model": "stable-diffusion-512-v2-1",  # have to force this
    "model": "stable-diffusion-xl-1024-v0-9",  # have to force this
    # "model": "stable-diffusion-xl-1024-v1-0",  # have to force this

wondering if the API is currently having downtime or how else I could debug this?

主要言語
Jupyter Notebook
スター
2.4k
フォーク
338
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Stability-AI/stability-sdk のほかの issue

Stability-AI/stability-sdk の issue をすべて見る

似ている issue

AI Infra & Agents の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。