jaemin9721
South Korea
Asked
— Edited
Using an external API to generate Speech-to-Text (STT) as a robot skill. I don't know how to create an external skill even if I click on 'Create External Skill.' I want to input code to fetch data from an external API and apply it to the robot. "How do I apply an external API to the robot by entering code?"
Related Hardware (view all EZB hardware)
JD Humanoid
by EZ-Robot
JD humanoid robot kit - WiFi-enabled, 16 DOF with metal-gear servos; easy, fun, educational, available from the EZ-Robot online store.
Wi-Fi / USB
Servos
24
Camera
Audio
UART
3
I2C
ADC
8
Digital
24
Related Robot Skills (view all robot skills)
Watson Text To Speech
by ptp
Human-like audio via IBM Watson Text-to-Speech: multi-language, selectable voices for accessibility and automated interactions. IBM Cloud required.
Requires ARC
v4
Arduinocoms
by ShadowStudios
EZB v4-Arduino I2C bridge for ARC: supports custom C# code and reads gamepad or Wii controller inputs for robot control
Requires ARC
v1
Talk Servo V2
by Synthiam
Animate servos to simulate jaw/mouth with ARC text-to-speech; configurable vowel/consonant timing, start sync, multi-servo control, pause/stop.
Requires ARC
v5

To create a robot skill that utilizes an external API for Speech-to-Text (STT) functionality, you'll need to follow these general steps:
Understand the API: Before you start coding, make sure you understand the external API you want to use. This includes knowing the API endpoints, the request format, the response format, and any authentication requirements.
Set Up Development Environment: Ensure you have a development environment set up for creating robot skills. You'll need to have the necessary tools and libraries installed, such as Visual Studio for C# development.
Create a New Robot Skill: In ARC, navigate to the "Create Robot Skill" page (https://synthiam.com/Support/Create-Robot-Skill/Overview) and follow the instructions to create a new robot skill. This will involve writing code in a supported programming language (like C#) and using the ARC SDK.
Implement API Calls: In your robot skill code, implement the logic to make HTTP requests to the external STT API. Handle the API responses and convert the text data into a format that can be used by your robot.
Integrate with ARC: Use the ARC API to integrate your custom skill with the ARC environment. This will allow your skill to communicate with other robot skills and the ARC framework.
Test Your Skill: Thoroughly test your robot skill to ensure it works as expected. Make sure it can handle different scenarios, such as varying speech inputs and potential API errors.
Deploy Your Skill: Once your robot skill is tested and working, you can deploy it to your robot. Follow the instructions provided by Synthiam for deploying custom robot skills.
Use Your Skill in ARC: With your custom STT robot skill deployed, you can now use it within ARC. Add it to your project, configure it as needed, and use it alongside other skills like Watson Text To Speech, ArduinoComs, and Talk servo v2.
For detailed instructions and code examples, refer to the Synthiam documentation and the ARC SDK. If you encounter any issues or need further assistance, you can engage with the Synthiam community or explore the support resources available on the Synthiam website.
Remember, creating a robot skill that interfaces with an external API can be complex and may require a good understanding of programming concepts and network communication. If you're new to this, take the time to learn the basics and consider starting with simpler projects to build up your skills.
I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
Also look at Synthiam GitHub for example robot skill source codes