
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
A unified wrapper for various reverse-engineered AI provider APIs, aiming for OpenAI compatibility.
A unified, professional Python wrapper for various reverse-engineered AI provider APIs, designed to be OpenAI-compatible and easy to use.
Install directly from PyPI:
pip install -U a4f-local
from a4f_local import A4F
client = A4F()
try:
audio_bytes = client.audio.speech.create(
model="tts-1", # Model name (currently informational)
input="Hello from a4f-local!",
voice="alloy" # Choose a supported voice
)
with open("output.mp3", "wb") as f:
f.write(audio_bytes)
print("Generated output.mp3")
except Exception as e:
print(f"An error occurred: {e}")
The following voice names are supported (mapped to OpenAI's official voices):
alloy
echo
fable
onyx
nova
shimmer
Use one of these as the voice
parameter in your TTS requests.
A4F
client just like OpenAI's Python SDK.client.audio.speech.create()
), it routes the request to the appropriate provider.See the LICENSE file for details. This software is not open source in the traditional sense. Please review the license terms carefully before use.
This package uses reverse-engineered, unofficial APIs. These may break or change at any time. Use at your own risk.
More detailed documentation, tutorials, and examples will be published here and on PyPI.
For now, refer to the example above and the source code for guidance.
FAQs
A unified wrapper for various reverse-engineered AI provider APIs, aiming for OpenAI compatibility.
We found that a4f-local demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.