diff --git a/README.md b/README.md index 653ea7d..5fa6b5d 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,13 @@ Kie.ai uses a credit-based model for requests. There is no subscription requirem ## Debugging and job visibility You can review request history and results at https://kie.ai/logs. Some models can take longer to finish; the default timeout has been increased to reduce false failures. +## Sponsorship / Development + +This project is developed and maintained with support from **Dreaming Computers** +https://dreamingcomputers.com + +Dreaming Computers is an independent studio exploring AI, creative tooling, and automation-driven workflows. The nodes in this pack are built from practical use cases and ongoing experimentation, and are shared with the community as they evolve. + ## Disclaimer This software is provided as-is. You are responsible for managing your own API usage and credits. diff --git a/kie_api/prompt_lists.py b/kie_api/prompt_lists.py index a388b8d..18fcc10 100644 --- a/kie_api/prompt_lists.py +++ b/kie_api/prompt_lists.py @@ -18,11 +18,11 @@ def _extract_prompt_index(key: Any) -> int | None: key_norm = str(key).strip().lower() if not key_norm: return None - prompt_match = re.match(r"^(?:p|prompt)[\\s_\\-]*([1-9]\\d*)$", key_norm) + prompt_match = re.match(r"^(?:p|prompt)[\s_\-]*([1-9]\d*)$", key_norm) if prompt_match: match = prompt_match else: - match = re.match(r"^([1-9]\\d*)$", key_norm) + match = re.match(r"^([1-9]\d*)$", key_norm) if not match: return None try: