[02/14/26 11:22:26] INFO     HTTP Request: POST                 _client.py:1740
                             https://ark.cn-beijing.volces.com/                
                             api/v3/images/generations                         
                             "HTTP/1.1 404 Not Found"                          
DEBUG: API Error Body: {"error":{"code":"ModelNotOpen","message":"Your account %!s(int64=2108895209) has not activated the model doubao-seedream-4-5-251128. Please activate the model service in the Ark Console. Request id: 0217710393456139b682021c37db203d3df9ca3c30e9969bb2892","param":"","type":"Not Found"}}
                    INFO     HTTP Request: POST                 _client.py:1740
                             https://ark.cn-beijing.volces.com/                
                             api/v3/contents/generations/tasks                 
                             "HTTP/1.1 404 Not Found"                          
DEBUG: API Error Body: {"error":{"code":"ModelNotOpen","message":"Your account %!s(int64=2108895209) has not activated the model doubao-seedance-1-5-pro-251215. Please activate the model service in the Ark Console. Request id: 021771039346075c1e2f801725a581bafbe3dbeb0e665162337db","param":"","type":"Not Found"}}
API Key loaded: 9ed6...0fa5

--- Testing Image Generation ---
Generating image with prompt 'A futuristic city' and size '16:9'...
Result:
Error generating image: API Error 404 (ModelNotOpen): Your account %!s(int64=2108895209) has not activated the model doubao-seedream-4-5-251128. Please activate the model service in the Ark Console. Request id: 0217710393456139b682021c37db203d3df9ca3c30e9969bb2892

--- Testing Video Generation ---
Traceback (most recent call last):
Generating video task with prompt 'Clouds moving in the sky'...
Result:
Error creating video task: API Error 404 (ModelNotOpen): Your account %!s(int64=2108895209) has not activated the model doubao-seedance-1-5-pro-251215. Please activate the model service in the Ark Console. Request id: 021771039346075c1e2f801725a581bafbe3dbeb0e665162337db
  File "E:\Projects\gongzhonghao\jimeng_visual_generation\test_script.py", line 71, in <module>
    asyncio.run(main())
  File "C:\Users\sunny\AppData\Roaming\uv\python\cpython-3.12.9-windows-x86_64-none\Lib\asyncio\runners.py", line 195, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "C:\Users\sunny\AppData\Roaming\uv\python\cpython-3.12.9-windows-x86_64-none\Lib\asyncio\runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\sunny\AppData\Roaming\uv\python\cpython-3.12.9-windows-x86_64-none\Lib\asyncio\base_events.py", line 691, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "E:\Projects\gongzhonghao\jimeng_visual_generation\test_script.py", line 66, in main
    print("\n\u2705 All tests passed successfully!")
UnicodeEncodeError: 'gbk' codec can't encode character '\u2705' in position 2: illegal multibyte sequence
