yihong0618/bilingual_book_maker

Error "model does not exist" when running make_book.py with model xAI

Open

#464 opened on Jul 15, 2025

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Python (978 forks)batch import
good first issue

Repository metrics

Stars
 (6,557 stars)
PR merge metrics
 (Avg merge 2h 1m) (1 merged PR in 30d)

Description

Error 404: Model grok-3-mini ( i have try xAI only but also same ) does not exist or access is denied when executing make_book.py.

Hello Yihong0618,

I am using the make_book.py script to generate an e-book using an AI model. However, when I run the following command:

python3 make_book.py --book_name /abook_name.epub --model xai --xai_key xai-IpShGFrak --language vi --prompt ./promt_s.json --model_list grok-3-mini

I am also running only but it not working too

python3 make_book.py --book_name /abook_name.epub --model xai --xai_key xai-IpShGFrak --language vi --prompt ./promt_s.json

I encountered the following error:

Error code: 404 - {'code': 'Some requested entity was not found', 'error': "The model grok-beta does not exist or your team bdc397fa-17fc-468e-9180-d0870ca1e10a does not have access to it. Please ensure you're using the correct API key. If you believe this is a mistake, please contact support and quote your team ID and the model name."}

Thank you!

Contributor guide